NVDA with Japanese branch
Revisión | b0976afa3c45aef90f9b84ac6591e98803ee3e97 (tree) |
---|---|
Tiempo | 2018-09-19 07:33:23 |
Autor | Takuya Nishimoto <nishimotz@gmai...> |
Commiter | Takuya Nishimoto |
nvdajp/nvdajp#106
@@ -74,7 +74,7 @@ globalVars.startTime=time.time() | ||
74 | 74 | # Check OS version requirements |
75 | 75 | import winVersion |
76 | 76 | if not winVersion.isSupportedOS(): |
77 | - winUser.MessageBox(0, unicode(decodeMbcs(ctypes.FormatError(winUser.ERROR_OLD_WIN_VERSION))), None, winUser.MB_ICONERROR) | |
77 | + winUser.MessageBox(0, ctypes.FormatError(winUser.ERROR_OLD_WIN_VERSION).decode('mbcs'), None, winUser.MB_ICONERROR) | |
78 | 78 | sys.exit(1) |
79 | 79 | |
80 | 80 | def decodeMbcs(string): |