Changeset 21990
- Timestamp:
 - Apr 2, 2012, 6:39:34 PM (14 years ago)
 - Location:
 - trunk/src/user32
 - Files:
 - 
      
- 4 edited
 
- 
          
  menu.c (modified) (3 diffs)
 - 
          
  resources/user32_En.orc (modified) (1 diff)
 - 
          
  resources/user32_Ru.orc (modified) (1 diff)
 - 
          
  user32rsrc.orc (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/user32/menu.c
r21962 r21990 45 45 #include "oslibwin.h" 46 46 #include "heapstring.h" 47 48 #include "user32rsrcdef.h" 47 49 48 50 … … 347 349 static HMENU MENU_CopySysPopup(void) 348 350 { 351 HMODULE hmod = GetModuleHandleA("USER32"); 352 349 353 #ifndef __WIN32OS2__ 350 HMENU hMenu = LoadMenuA( GetModuleHandleA("USER32"), "SYSMENU");354 HMENU hMenu = LoadMenuA(hmod, "SYSMENU"); 351 355 #else 352 HMENU hMenu; 353 hMenu = LoadMenuA(GetModuleHandleA("USER32"), fOS2Look ? "SYSMENUWARP" : "SYSMENU"); 356 HMENU hMenu = LoadMenuA(hmod, fOS2Look ? "SYSMENUWARP" : "SYSMENU"); 354 357 #endif 355 358 … … 360 363 #ifdef __WIN32OS2__ 361 364 if(!fDisableOdinSysMenuItems) { 365 CHAR szTmp[256]; 366 LoadStringA(hmod, IDS_ABOUTODIN, szTmp, sizeof(szTmp)/sizeof(szTmp[0])); 362 367 AppendMenuA(hMenu, MF_SEPARATOR, 0, NULL); 363 368 AppendMenuA(hMenu,MF_STRING, 364 SC_ABOUTODIN, (LPSTR)"About Odin");369 SC_ABOUTODIN, szTmp); 365 370 #ifdef DEBUG 366 371 AppendMenuA(hMenu, MF_SEPARATOR, 0, NULL);  - 
      
trunk/src/user32/resources/user32_En.orc
r9491 r21990 69 69 STRINGTABLE DISCARDABLE 70 70 { 71 IDS_ABOUTODIN "About Odin" 72 71 73 MDI_IDS_MOREWINDOWS "&More Windows..." /* defined in mdi.h */ 72 74 }  - 
      
trunk/src/user32/resources/user32_Ru.orc
r9491 r21990 56 56 END 57 57 58 STRINGTABLE DISCARDABLE 59 { 60 IDS_ABOUTODIN "Î Odin" 61 62 MDI_IDS_MOREWINDOWS "&Åùå îêíà..." /* defined in mdi.h */ 63 }  - 
      
trunk/src/user32/user32rsrc.orc
r21344 r21990 6 6 #include "odinrsrc.h" 7 7 #include "mdi.h" 8 #include "user32rsrcdef.h" 8 9 9 10 /* Frame */  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  