diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-06-28 15:25:39 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-06-28 15:25:39 +0000 |
| commit | 9102febc37475af113681eaaee02ecc2ea04b4da (patch) | |
| tree | ad08b65668913258d28022f79b202ceaeddfb7c8 /pokemod/Path.cpp | |
| parent | 5c3ca621f75587173bab3d946aee81dd2d36f495 (diff) | |
| download | sigen-9102febc37475af113681eaaee02ecc2ea04b4da.tar.gz sigen-9102febc37475af113681eaaee02ecc2ea04b4da.tar.xz sigen-9102febc37475af113681eaaee02ecc2ea04b4da.zip | |
Minor various fixes, Dialog validation started, GUI fixes, String methods added
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@21 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Path.cpp')
| -rw-r--r-- | pokemod/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/Path.cpp b/pokemod/Path.cpp index a8fa5ebb..2e7e8a20 100644 --- a/pokemod/Path.cpp +++ b/pokemod/Path.cpp @@ -59,7 +59,7 @@ bool PokeGen::PokeMod::Path::DoesExist() bool PokeGen::PokeMod::Path::HasExtension(const String &ext)
{
- unsigned pos = rfind('.');
+ size_t pos = rfind('.');
bool ret = true;
String fileExt(substr(pos + 1));
if ((pos == npos) || (pos + 1 == length()) || (fileExt.length() != ext.length()))
|
