diff options
Diffstat (limited to 'src/note.c')
-rw-r--r-- | src/note.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ */ void note_new(note* n, char* path) { strcpy(n->path, path); - basename(path, n->name); + strcpy(n->name, basename(path)); // Get file stats struct stat s; |