Accept variable length note names
Read up to the first blank in note_read() instead of assuming a fixed-width note file name. Accept everything up to 40 characters (which is the length of a SHA1 hash in hexadecimal representation). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -109,7 +109,8 @@
|
||||
#define ATTR_HIGHEST 6
|
||||
|
||||
#define STATUSHEIGHT 2
|
||||
#define NOTESIZ 6
|
||||
#define MAX_NOTESIZ 40
|
||||
#define TMPEXTSIZ 6
|
||||
|
||||
/* Format for appointment hours is: HH:MM */
|
||||
#define HRMIN_SIZE 6
|
||||
|
||||
Reference in New Issue
Block a user