Author: dreimer
Date: Sun Jun 16 22:49:04 2013
New Revision: 59245
URL:
http://svn.reactos.org/svn/reactos?rev=59245&view=rev
Log:
Fix for r59242.
GCC does not even care here... sorry.
Modified:
trunk/reactos/base/applications/kbswitch/kbswitch.c
trunk/reactos/base/applications/magnify/magnifier.c
trunk/reactos/base/applications/notepad/main.c
Modified: trunk/reactos/base/applications/kbswitch/kbswitch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch…
==============================================================================
--- trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] Sun Jun 16 22:49:04
2013
@@ -516,18 +516,16 @@
{
WNDCLASS WndClass = {0};
MSG msg;
-
+ HANDLE hMutex;
+
switch (GetUserDefaultUILanguage())
{
case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
SetProcessDefaultLayout(LAYOUT_RTL);
break;
-
default:
break;
}
-
- HANDLE hMutex;
hMutex = CreateMutex(NULL, FALSE, szKbSwitcherName);
if (!hMutex)
Modified: trunk/reactos/base/applications/magnify/magnifier.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/magnifier.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/magnifier.c [iso-8859-1] Sun Jun 16 22:49:04
2013
@@ -45,7 +45,10 @@
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
-
+
+ UNREFERENCED_PARAMETER(hPrevInstance);
+ UNREFERENCED_PARAMETER(lpCmdLine);
+
switch (GetUserDefaultUILanguage())
{
case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
@@ -55,9 +58,6 @@
default:
break;
}
-
- UNREFERENCED_PARAMETER(hPrevInstance);
- UNREFERENCED_PARAMETER(lpCmdLine);
// Initialize global strings
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
Modified: trunk/reactos/base/applications/notepad/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
==============================================================================
--- trunk/reactos/base/applications/notepad/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/notepad/main.c [iso-8859-1] Sun Jun 16 22:49:04 2013
@@ -554,7 +554,10 @@
HMONITOR monitor;
MONITORINFO info;
INT x, y;
-
+
+ static const TCHAR className[] = _T("NPClass");
+ static const TCHAR winName[] = _T("Notepad");
+
switch (GetUserDefaultUILanguage())
{
case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
@@ -564,9 +567,6 @@
default:
break;
}
-
- static const TCHAR className[] = _T("NPClass");
- static const TCHAR winName[] = _T("Notepad");
UNREFERENCED_PARAMETER(prev);