Code to implement HTTP requests done. Also, rewrote str_to_int64, str_to_double
This commit is contained in:
@@ -39,8 +39,8 @@ bool Gui::has_action(const eng::string &action) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
eng::string Gui::get_action(int index) {
|
||||
if ((index < 0) || (index >= int(elts_.size()))) {
|
||||
eng::string Gui::get_action(int64_t index) {
|
||||
if ((index < 0) || (index >= int64_t(elts_.size()))) {
|
||||
return "";
|
||||
}
|
||||
return elts_[index].action();
|
||||
|
||||
Reference in New Issue
Block a user