Some xb style cleanup.
This commit is contained in:
@@ -186,7 +186,7 @@ X_STATUS Emulator::Setup(ui::Window* display_window) {
|
||||
X_STATUS Emulator::LaunchPath(std::wstring path) {
|
||||
// Launch based on file type.
|
||||
// This is a silly guess based on file extension.
|
||||
auto last_slash = path.find_last_of(xe::path_separator);
|
||||
auto last_slash = path.find_last_of(xe::kPathSeparator);
|
||||
auto last_dot = path.find_last_of('.');
|
||||
if (last_dot < last_slash) {
|
||||
last_dot = std::wstring::npos;
|
||||
|
||||
Reference in New Issue
Block a user