[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/physfs/platform win32.c,1.1.1.1.6.2,1.1.1
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/physfs/platform win32.c,1.1.1.1.6.2,1.1.1.1.6.3 |
Date: |
Thu, 30 May 2002 09:54:51 -0400 |
Update of /cvsroot/paragui/paragui/src/physfs/platform
In directory subversions:/tmp/cvs-serv30393/src/physfs/platform
Modified Files:
Tag: devel-1-0
win32.c
Log Message:
added functions to add callback handlers to existing menu items
Thanks John Rainey <address@hidden>
Index: win32.c
===================================================================
RCS file: /cvsroot/paragui/paragui/src/physfs/platform/win32.c,v
retrieving revision 1.1.1.1.6.2
retrieving revision 1.1.1.1.6.3
diff -C2 -r1.1.1.1.6.2 -r1.1.1.1.6.3
*** win32.c 29 May 2002 15:34:09 -0000 1.1.1.1.6.2
--- win32.c 30 May 2002 13:54:47 -0000 1.1.1.1.6.3
***************
*** 164,175 ****
char *__PHYSFS_platformGetUserDir(void)
{
! char *home = copyEnvironmentVariable("HOME");
const char *homedrive = getenv("HOMEDRIVE");
const char *homepath = getenv("HOMEPATH");
! if(getenv("USERPROFILE") != NULL) {
! home = copyEnvironmentVariable("USERPROFILE");
! return home;
! }
if (home != NULL)
--- 164,177 ----
char *__PHYSFS_platformGetUserDir(void)
{
! char *home = NULL;
const char *homedrive = getenv("HOMEDRIVE");
const char *homepath = getenv("HOMEPATH");
! if(getenv("USERPROFILE") != NULL) {
! home = copyEnvironmentVariable("USERPROFILE");
! return home;
! }
!
! char *home = copyEnvironmentVariable("HOME");
if (home != NULL)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/physfs/platform win32.c,1.1.1.1.6.2,1.1.1.1.6.3,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/src/widgets pgpopupmenu.cpp,1.3,1.3.6.1
- Next by Date:
[paragui-cvs] CVS: paragui Makefile.am,1.1.1.1,1.1.1.1.6.1 configure.in,1.3.6.2,1.3.6.3 paragui.spec.in,1.1,1.1.6.1 RELEASENOTES.Beta1,1.1.1.1,NONE RELEASENOTES.final,1.1.1.1.6.4,NONE VisualC.html,1.1.1.1,NONE
- Previous by thread:
[paragui-cvs] CVS: paragui/src/widgets pgpopupmenu.cpp,1.3,1.3.6.1
- Next by thread:
[paragui-cvs] CVS: paragui Makefile.am,1.1.1.1,1.1.1.1.6.1 configure.in,1.3.6.2,1.3.6.3 paragui.spec.in,1.1,1.1.6.1 RELEASENOTES.Beta1,1.1.1.1,NONE RELEASENOTES.final,1.1.1.1.6.4,NONE VisualC.html,1.1.1.1,NONE
- Index(es):