File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ void init_gettext(const char *path, const std::string &configured_language) {
167
167
if (parameters != " " ) {
168
168
ptr_parameters = parameters.c_str ();
169
169
}
170
-
170
+
171
171
/* * users may start by short name in commandline without extention **/
172
172
std::string appname = argv[0 ];
173
173
if (appname.substr (appname.length () - 4 ) != " .exe" ) {
@@ -184,7 +184,7 @@ void init_gettext(const char *path, const std::string &configured_language) {
184
184
NULL ,
185
185
&startupinfo,
186
186
&processinfo)) {
187
- char buffer[1024 ];
187
+ char buffer[1024 ];
188
188
FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM,
189
189
NULL ,
190
190
GetLastError (),
@@ -202,14 +202,14 @@ void init_gettext(const char *path, const std::string &configured_language) {
202
202
else {
203
203
exit (0 );
204
204
}
205
+ }
205
206
#else
206
- errorstream << " *******************************************************" << std::endl;
207
- errorstream << " Can't apply locale workaround for server!" << std::endl;
208
- errorstream << " Expect language to be broken!" << std::endl;
209
- errorstream << " *******************************************************" << std::endl;
207
+ errorstream << " *******************************************************" << std::endl;
208
+ errorstream << " Can't apply locale workaround for server!" << std::endl;
209
+ errorstream << " Expect language to be broken!" << std::endl;
210
+ errorstream << " *******************************************************" << std::endl;
210
211
211
212
#endif
212
- }
213
213
214
214
setlocale (LC_ALL,configured_language.c_str ());
215
215
#else // Mingw
You can’t perform that action at this time.
0 commit comments