Added validation for prev- nextpattern settings (#54);
authorDaniel Carl <danielcarl@gmx.de>
Tue, 7 Jan 2014 23:27:59 +0000 (00:27 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 7 Jan 2014 23:27:59 +0000 (00:27 +0100)
commit8a9cbfce3e53411436a86486b8b066aaf734f45f
tree9aa0090c9c0ef8dafa4648efbfdb3e6e90741d78
parent923e12a627081731d690dd2f29153bbf352c4b2f
Added validation for prev- nextpattern settings (#54);

By the way the return type of the setting function was changed from boolean to
enum, to allow special error messages shown to the users. In case the boolean
where used, the calling function generated the error message for the user, a
possible more useful error message from the setting function was overruled by
the generic one.
src/setting.c
src/setting.h