i3 - improved tiling WM


Program version shows wrong year

Patch status: merged

Patch by Marco Hunsicker

Long description:

This patch updates the copyright year information the i3 and
i3bar binaries show to the user.

To apply this patch, use:
curl http://cr.i3wm.org/patch/388/raw.patch | git am

b/i3bar/src/main.c

16
@@ -112,7 +112,7 @@ int main(int argc, char **argv) {
17
                 socket_path = expand_path(optarg);
18
                 break;
19
             case 'v':
20
-                printf("i3bar version " I3_VERSION " © 2010-2011 Axel Wagner and contributors\n");
21
+                printf("i3bar version " I3_VERSION " © 2010-2014 Axel Wagner and contributors\n");
22
                 exit(EXIT_SUCCESS);
23
                 break;
24
             case 'b':

b/src/main.c

29
@@ -340,11 +340,11 @@ int main(int argc, char *argv[]) {
30
                 only_check_config = true;
31
                 break;
32
             case 'v':
33
-                printf("i3 version " I3_VERSION " © 2009-2013 Michael Stapelberg and contributors\n");
34
+                printf("i3 version " I3_VERSION " © 2009-2014 Michael Stapelberg and contributors\n");
35
                 exit(EXIT_SUCCESS);
36
                 break;
37
             case 'm':
38
-                printf("Binary i3 version:  " I3_VERSION " © 2009-2013 Michael Stapelberg and contributors\n");
39
+                printf("Binary i3 version:  " I3_VERSION " © 2009-2014 Michael Stapelberg and contributors\n");
40
                 display_running_version();
41
                 exit(EXIT_SUCCESS);
42
                 break;