3
0
Fork 0

+ small beautifying of the code

small_fixes
kelson42 12 years ago
parent 294110d40d
commit 77dfd3e03f

@ -159,7 +159,7 @@ int main(int argc, char **argv) {
} }
} }
if (zimPath != "") { if (!zimPath.empty()) {
zimPathToSave = zimPathToSave == "." ? zimPath : zimPathToSave; zimPathToSave = zimPathToSave == "." ? zimPath : zimPathToSave;
string bookId = libraryManager.addBookFromPathAndGetId(zimPath, zimPathToSave, url, false); string bookId = libraryManager.addBookFromPathAndGetId(zimPath, zimPathToSave, url, false);

Loading…
Cancel
Save