diff options
-rw-r--r-- | src/note.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ */ void note_new(note_t* note, char* path) { strcpy(note->path, path); + basename(path, note->name); } |
index : noteless.git | ||
Noteless provides a simple command line interface to note taking. |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/note.c | 1 |
@@ -21,6 +21,7 @@ */ void note_new(note_t* note, char* path) { strcpy(note->path, path); + basename(path, note->name); } |
Generated by cgit