Fixed crash on startup
on behalf of Victor, see issue 1513
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
#include "rtwindow.h"
|
#include "rtwindow.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <locale.h>
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "soundman.h"
|
#include "soundman.h"
|
||||||
#include "rtimage.h"
|
#include "rtimage.h"
|
||||||
@@ -65,6 +66,7 @@ int processLineParams( int argc, char **argv );
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
setlocale(LC_ALL,"");
|
||||||
#ifdef BUILD_BUNDLE
|
#ifdef BUILD_BUNDLE
|
||||||
char exname[512] = {0};
|
char exname[512] = {0};
|
||||||
Glib::ustring exePath;
|
Glib::ustring exePath;
|
||||||
|
Reference in New Issue
Block a user