git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d27c18
)
Minor fix to tinyxml code
author
skeezix
<skeezix@flotsam-vm.(none)>
Mon, 23 Feb 2009 20:57:05 +0000
(15:57 -0500)
committer
skeezix
<skeezix@flotsam-vm.(none)>
Mon, 23 Feb 2009 20:57:05 +0000
(15:57 -0500)
lib/pnd_tinyxml.cpp
patch
|
blob
|
history
diff --git
a/lib/pnd_tinyxml.cpp
b/lib/pnd_tinyxml.cpp
index
83f5082
..
5b2822e
100644
(file)
--- a/
lib/pnd_tinyxml.cpp
+++ b/
lib/pnd_tinyxml.cpp
@@
-96,6
+96,10
@@
unsigned char pnd_pxml_parse ( const char *pFilename, char *buffer, unsigned int
if ( s ) {
strcpy ( s, strdup(pElem->GetText()));
app->icon = strdup(anotherbuffer);
+ } else if ( ( s = strrchr ( anotherbuffer, '/' ) ) ) {
+ s += 1;
+ strcpy ( s, strdup(pElem->GetText()));
+ app->exec = strdup(anotherbuffer);
}
}