diff options
author | Thierry Crozat | 2018-12-17 23:04:22 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-12-17 23:06:07 +0000 |
commit | 56d1305f9d50ded07bfc866f3bda0f673e423c88 (patch) | |
tree | 2e49cec273cdf33dab9e51fd3986ba908ad820e8 | |
parent | 367a205cd5c7f9be955c016b6bfb8221b0ac9414 (diff) | |
download | scummvm-rg350-56d1305f9d50ded07bfc866f3bda0f673e423c88.tar.gz scummvm-rg350-56d1305f9d50ded07bfc866f3bda0f673e423c88.tar.bz2 scummvm-rg350-56d1305f9d50ded07bfc866f3bda0f673e423c88.zip |
COMMON: Rename enum variable for native browser feature
There was a typo in the name (missing 'r' in browser).
-rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 2 | ||||
-rw-r--r-- | backends/platform/sdl/win32/win32.cpp | 2 | ||||
-rw-r--r-- | common/system.h | 2 | ||||
-rw-r--r-- | gui/options.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index b58255c271..ae9203fd45 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -112,7 +112,7 @@ bool OSystem_MacOSX::hasFeature(Feature f) { return true; #ifdef USE_SYSDIALOGS - if (f == kFeatureNativeFileBowserDialog) + if (f == kFeatureSystemBrowserDialog) return true; #endif diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index e837bbae03..93159a7d7e 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -109,7 +109,7 @@ bool OSystem_Win32::hasFeature(Feature f) { return true; #ifdef USE_SYSDIALOGS - if (f == kFeatureNativeFileBowserDialog) + if (f == kFeatureSystemBrowserDialog) return true; #endif diff --git a/common/system.h b/common/system.h index 73a4ad6a2f..b336708814 100644 --- a/common/system.h +++ b/common/system.h @@ -409,7 +409,7 @@ public: * Supports for using the native system file browser dialog through the DialogManager. */ - kFeatureNativeFileBowserDialog + kFeatureSystemBrowserDialog }; diff --git a/gui/options.cpp b/gui/options.cpp index 3e6183c54a..f1efacdf9d 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -1705,7 +1705,7 @@ void GlobalOptionsDialog::build() { #endif // USE_TRANSLATION - if (g_system->hasFeature(OSystem::kFeatureNativeFileBowserDialog)) { + if (g_system->hasFeature(OSystem::kFeatureSystemBrowserDialog)) { _useSystemDialogsCheckbox = new CheckboxWidget(tab, "GlobalOptions_Misc.UseSystemDialogs", _("Use native system file browser"), _("Use the native system file browser instead of the ScummVM one to select a file or directory.") |