comparison examples/example-debug/main.c @ 241:76afe639fd72

misc: add support for NLS, closes #22510 @4h While here cleanup the path functions in sys.c/sys.h
author David Demelier <markand@malikania.fr>
date Sat, 28 Nov 2020 18:00:05 +0100
parents 23a844fdc911
children 196264679079
comparison
equal deleted inserted replaced
240:d7e5e02f70a1 241:76afe639fd72
36 static int mouse_y; 36 static int mouse_y;
37 37
38 static void 38 static void
39 init(void) 39 init(void)
40 { 40 {
41 if (!core_init() || !ui_init()) 41 if (!core_init("fr.malikania", "debug") || !ui_init())
42 panic(); 42 panic();
43 if (!window_open("Example - Debug", W, H)) 43 if (!window_open("Example - Debug", W, H))
44 panic(); 44 panic();
45 45
46 debug_options.enable = true; 46 debug_options.enable = true;