Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git] / nucleus / library / configuration / application_configuration.cpp
index af502e780c402b042a5aaf19eff9be2f472cdf17..d5ca0802568d1676fcf733fc50a258e54ba51594 100644 (file)
@@ -207,7 +207,7 @@ astring application_configuration::application_name()
   to_return = get_cmdline_from_proc();
 #elif defined(_MSC_VER)
   flexichar low_buff[MAX_ABS_PATH + 1];
-  GetModuleFileName(NIL, low_buff, MAX_ABS_PATH - 1);
+  GetModuleFileName(NULL_POINTER, low_buff, MAX_ABS_PATH - 1);
   astring buff = from_unicode_temp(low_buff);
   buff.to_lower();  // we lower-case the name since windows seems to UC it.
   to_return = buff;