summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index 9191fbb7ae..40bee46258 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -449,7 +449,7 @@ void save_notes(writer& outf)
{
marshallLong( outf, NOTES_VERSION_NUMBER );
marshallLong( outf, note_list.size() );
- for ( unsigned i = 0; i < note_list.size(); ++i )
+ for (unsigned i = 0; i < note_list.size(); ++i)
note_list[i].save(outf);
}
@@ -472,7 +472,7 @@ void make_user_note()
mpr("Enter note: ", MSGCH_PROMPT);
char buf[400];
bool validline = !cancelable_get_line(buf, sizeof(buf));
- if ( !validline || (!*buf) )
+ if (!validline || (!*buf))
return;
Note unote(NOTE_USER_NOTE);
unote.name = buf;