[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/themes themeloader.cpp,1.3.6.1,1.3.6.2
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/themes themeloader.cpp,1.3.6.1,1.3.6.2 |
Date: |
Tue, 11 Jun 2002 10:13:50 -0400 |
Update of /cvsroot/paragui/paragui/src/themes
In directory subversions:/tmp/cvs-serv1925/src/themes
Modified Files:
Tag: devel-1-0
themeloader.cpp
Log Message:
fix for locating zipped theme files
Index: themeloader.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/themes/themeloader.cpp,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -C2 -r1.3.6.1 -r1.3.6.2
*** themeloader.cpp 29 May 2002 15:34:09 -0000 1.3.6.1
--- themeloader.cpp 11 Jun 2002 14:13:47 -0000 1.3.6.2
***************
*** 417,421 ****
if(info.archive.Exists(filename.c_str())) {
const char* path = info.archive.GetRealDir(filename.c_str());
! std::string fullpath = (std::string)path + filename;
bool rc = info.archive.AddArchive(fullpath.c_str());
--- 417,427 ----
if(info.archive.Exists(filename.c_str())) {
const char* path = info.archive.GetRealDir(filename.c_str());
! char sep = PG_FileArchive::GetDirSeparator()[0];
!
! std::string fullpath = (std::string)path;
! if(fullpath[fullpath.size()-1] != sep) {
! fullpath += sep;
! }
! fullpath += filename;
bool rc = info.archive.AddArchive(fullpath.c_str());
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/themes themeloader.cpp,1.3.6.1,1.3.6.2,
Alexander Pipelka <address@hidden> <=