Skip to content

Commit

Permalink
Fix another windows name collision.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Sep 28, 2013
1 parent aa0832d commit 5127780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const std::string& input_manager::get_action_name(const std::string& action) {
return actionID_to_name[action];
}

const std::string ERROR = "ERROR";
const std::string CATA_ERROR = "ERROR";
const std::string UNDEFINED = "UNDEFINED";
const std::string ANY_INPUT = "ANY_INPUT";

Expand All @@ -311,7 +311,7 @@ const std::string& input_context::input_to_action(input_event& inp) {
}
}
}
return ERROR;
return CATA_ERROR;
}

void input_context::register_action(const std::string& action_descriptor) {
Expand Down Expand Up @@ -358,7 +358,7 @@ const std::string& input_context::handle_input() {
continue;
}

if(action != ERROR) {
if(action != CATA_ERROR) {
return action;
}
// If we registered to receive any input, return ANY_INPUT
Expand Down

0 comments on commit 5127780

Please sign in to comment.