summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2015-02-28 11:30:57 -0700
committerAaron Ball <nullspoon@iohq.net>2015-02-28 11:30:57 -0700
commit465601bb1185d8b2e90aa0fb8407c4583aed4454 (patch)
treef7f568fdb572c55516cf22bd1defbd451240a696
parent12c42ccac47f701c35c2367adbcd2875dd77b0b9 (diff)
downloadnoteless-465601bb1185d8b2e90aa0fb8407c4583aed4454.tar.gz
noteless-465601bb1185d8b2e90aa0fb8407c4583aed4454.tar.xz
Just removed additional newline on note search
Nothing to see here. Move along... move along...
-rw-r--r--src/note.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/note.c b/src/note.c
index 97af826..9f5c357 100644
--- a/src/note.c
+++ b/src/note.c
@@ -115,7 +115,7 @@ int note_search(note_t* note, char* term, int case_insensitive) {
int line_num = 0;
while((fgets(buf, file_width, f)) != NULL) {
if(str_contains(buf, term, case_insensitive) == 1) {
- printf("%s: %02d: %s\n", note->name, line_num, buf);
+ printf("%s: %02d: %s", note->name, line_num, buf);
}
line_num++;
}

Generated by cgit