Commit c95a9e4c authored by Michael Steenbeek's avatar Michael Steenbeek
Browse files

Fix typo in 'separator'

parent 9d686db8
No related merge requests found
Showing with 7 additions and 7 deletions
+7 -7
......@@ -86,18 +86,18 @@ namespace Path
const utf8 * GetFileName(const utf8 * path)
{
const utf8 * lastPathSeperator = nullptr;
const utf8 * lastPathSeparator = nullptr;
for (const utf8 * ch = path; *ch != '\0'; ch++)
{
if (*ch == *PATH_SEPARATOR || *ch == '/')
{
lastPathSeperator = ch;
lastPathSeparator = ch;
}
}
return lastPathSeperator == nullptr ?
return lastPathSeparator == nullptr ?
path :
lastPathSeperator + 1;
lastPathSeparator + 1;
}
std::string GetFileNameWithoutExtension(const std::string &path)
......
......@@ -258,7 +258,7 @@ enum {
DDIX_FILTER_WW,
DDIX_FILTER_TT,
DDIX_FILTER_CUSTOM,
DDIX_FILTER_SEPERATOR,
DDIX_FILTER_SEPARATOR,
DDIX_FILTER_SELECTED,
DDIX_FILTER_NONSELECTED,
};
......@@ -878,10 +878,10 @@ void window_editor_object_selection_mousedown(rct_window *w, rct_widgetindex wid
// Track manager cannot select multiple, so only show selection filters if not in track manager
if (!(gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER)) {
num_items = 7;
gDropdownItemsFormat[DDIX_FILTER_SEPERATOR] = 0;
gDropdownItemsFormat[DDIX_FILTER_SEPARATOR] = 0;
gDropdownItemsFormat[DDIX_FILTER_SELECTED] = STR_TOGGLE_OPTION;
gDropdownItemsFormat[DDIX_FILTER_NONSELECTED] = STR_TOGGLE_OPTION;
gDropdownItemsArgs[DDIX_FILTER_SEPERATOR] = STR_NONE;
gDropdownItemsArgs[DDIX_FILTER_SEPARATOR] = STR_NONE;
gDropdownItemsArgs[DDIX_FILTER_SELECTED] = STR_SELECTED_ONLY;
gDropdownItemsArgs[DDIX_FILTER_NONSELECTED] = STR_NON_SELECTED_ONLY;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment