summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2024-05-20 15:45:31 +0300
committerjussi2024-05-20 15:45:31 +0300
commit9edaf7a47b02bd351c400f0c6aec517884449551 (patch)
treecf7019c08a033cb0b3739cdbcbb40b7c55fbad89 /include
parente84be852546aecf3e151fd8bb92db88a068c1ea1 (diff)
downloadreilua-enhanced-9edaf7a47b02bd351c400f0c6aec517884449551.tar.gz
reilua-enhanced-9edaf7a47b02bd351c400f0c6aec517884449551.tar.bz2
reilua-enhanced-9edaf7a47b02bd351c400f0c6aec517884449551.zip
Use GetApplicationDirectory instead of GetWorkingDirectory for basePath if no path argument given.
Diffstat (limited to 'include')
-rw-r--r--include/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/state.h b/include/state.h
index 63ab870..016e1bc 100644
--- a/include/state.h
+++ b/include/state.h
@@ -5,7 +5,7 @@
#endif
typedef struct {
- char* exePath;
+ char* basePath;
bool hasWindow;
bool run;
bool gcUnload;
@@ -45,6 +45,6 @@ typedef struct {
extern State* state;
-bool stateInit( int argn, const char** argc, const char* exePath );
+bool stateInit( int argn, const char** argc, const char* basePath );
void stateInitInterpret( int argn, const char** argc );
void stateFree();