--- a/imgtools/romtools/rombuild/rombuild.cpp Thu Nov 18 13:43:06 2010 +0800
+++ b/imgtools/romtools/rombuild/rombuild.cpp Tue Nov 23 14:07:04 2010 +0800
@@ -34,7 +34,7 @@
static const TInt RombuildMajorVersion=2;
static const TInt RombuildMinorVersion=19;
-static const TInt RombuildPatchVersion=0;
+static const TInt RombuildPatchVersion=1;
static TBool SizeSummary=EFalse;
static TPrintType SizeWhere=EAlways;
static string compareROMName = "";
@@ -490,7 +490,7 @@
}
return 0;
}
- if (romlogfile[romlogfile.size()-1] == '\\' || romlogfile[romlogfile.size()-1] == '/')
+ if (romlogfile.empty() || romlogfile[romlogfile.size()-1] == '\\' || romlogfile[romlogfile.size()-1] == '/')
romlogfile += "ROMBUILD.LOG";
H.SetLogFile(romlogfile.c_str());
ObeyFileReader *reader=new ObeyFileReader(filename.c_str());