Explorar el Código

expose some more windows vars

David Rose hace 16 años
padre
commit
86c892d3e8
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      direct/src/plugin/p3dSession.cxx

+ 2 - 0
direct/src/plugin/p3dSession.cxx

@@ -863,6 +863,8 @@ start_p3dpython(P3DInstance *inst) {
       "HOME", "USER", 
 #ifdef _WIN32
       "SYSTEMROOT", "USERPROFILE", "COMSPEC",
+      "SYSTEMDRIVE", "ALLUSERSPROFILE", "APPDATA", "COMMONPROGRAMFILES",
+      "PROGRAMFILES", "WINDIR", "PROGRAMDATA", "USERDOMAIN",
 #endif
 #ifdef HAVE_X11
       "DISPLAY", "XAUTHORITY",