]> git.tdb.fi Git - ext/subsurface.git/commitdiff
September comes before October
authorTero Roponen <tero.roponen@gmail.com>
Wed, 21 Sep 2011 12:44:34 +0000 (15:44 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Sep 2011 14:41:14 +0000 (07:41 -0700)
This patch fixes the ordering of month names.

Signed-off-by: Tero Roponen <tero.roponen@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
main.c

diff --git a/main.c b/main.c
index 3e4145645ba9ed48ecdf647e865d414b291e224c..ef6212ae234fd5a19ac41240f38d7ac49675f990 100644 (file)
--- a/main.c
+++ b/main.c
@@ -39,7 +39,7 @@ const char *monthname(int mon)
 {
        static const char month_array[12][4] = {
                "Jan", "Feb", "Mar", "Apr", "May", "Jun",
-               "Jul", "Aug", "Oct", "Sep", "Nov", "Dec",
+               "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
        };
        return month_array[mon];
 }