1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 02:09:35 +02:00

style cleanup

This commit is contained in:
Nikolay Pultsin 2012-04-12 14:03:54 +02:00
parent e583ab0418
commit 3b600060a2
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ RtfFontPropertyCommand::RtfFontPropertyCommand(RtfReader::FontProperty property)
}
void RtfFontPropertyCommand::run(RtfReader &reader, int *parameter) const {
bool start = (parameter == 0) || (*parameter != 0);
const bool start = (parameter == 0) || (*parameter != 0);
switch (myProperty) {
case RtfReader::FONT_BOLD:
if (reader.myState.Bold != start) {