fixed a varity of unsigned int bugs. Furthermore fixed the swap msr<->mlog bug

This commit is contained in:
nemu
2009-04-08 15:21:00 +00:00
parent 8a5501ed71
commit 659ab86f15
8 changed files with 50 additions and 193 deletions

View File

@@ -1171,7 +1171,8 @@ void PTextEdit::musrSwapMsrMlog()
swapFileName.replace(idx, 5, ".mlog");
} else if ((idx = currentFileName.find(".mlog")) > 0) { // mlog-file
swapFileName = currentFileName;
swapFileName.replace(idx, 5, ".msr ").stripWhiteSpace();
swapFileName.replace(idx, 5, ".msr ");
swapFileName = swapFileName.stripWhiteSpace();
} else { // neither a msr- nor a mlog-file
QMessageBox::information( this, "musrSwapMsrMlog",
"This is neither a msr- nor a mlog-file, hence nothing to be swapped.\n",