X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2Fmain.c;h=39b6cd5dc5f55ca1ba2c92cf347eb0b4575586e2;hb=94a28d11cee6db33d9c456b395ed59f2631b08e5;hp=00ef6d8cac495e3df70bf7407f38a01ac18d33b3;hpb=74f513ce239ec8958b399bde423fa9fa2ae5c3b4;p=smdp.git diff --git a/src/main.c b/src/main.c index 00ef6d8..39b6cd5 100644 --- a/src/main.c +++ b/src/main.c @@ -1,6 +1,6 @@ /* * mdp -- A command-line based markdown presentation tool. - * Copyright (C) 2015 Michael Goehler + * Copyright (C) 2016 Michael Goehler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ void usage() { void version() { printf("mdp %d.%d.%d\n", MDP_VER_MAJOR, MDP_VER_MINOR, MDP_VER_REVISION); - printf("Copyright (C) 2015 Michael Goehler\n"); + printf("Copyright (C) 2016 Michael Goehler\n"); printf("License GPLv3+: GNU GPL version 3 or later .\n"); printf("This is free software: you are free to change and redistribute it.\n"); printf("There is NO WARRANTY, to the extent permitted by law.\n"); @@ -95,6 +95,9 @@ int main(int argc, char *argv[]) { // UTF-8 characters if the system supports it setlocale(LC_CTYPE, ""); + // setup list string + setup_list_strings(); + // open file or set input to STDIN char *file = NULL; FILE *input;