Force a terminating \n on macro file load time
commite9534d2c6d7f299d3979d8ad62d643769c44e6e9
authorBert Wesarg <lebert@users.sourceforge.net>
Wed, 20 Aug 2008 14:57:36 +0000 (20 14:57 +0000)
committerBert Wesarg <lebert@users.sourceforge.net>
Wed, 20 Aug 2008 14:57:36 +0000 (20 14:57 +0000)
tree4a531917a785f15d44390f1e6fe4103f19ffb522
parent18000ee677ee342620f434b7322abd6759a0634e
Force a terminating \n on macro file load time

Macros entered into the macro menu dialog are always terminated with a
newline to prevent syntax erros. Be so keen and do the same on macro
file load time.

Thank to Alexey Kuznetsov for reporting.

Closes SF BUG#2038921
ReleaseNotes
source/macro.c
source/preferences.c
util/fileUtils.c
util/fileUtils.h
util/prefFile.c