Lines 1-30
Link Here
|
1 |
$FreeBSD: ports/games/wmpuzzle/files/patch-wmpuzzle.c,v 1.1 2002/08/26 01:07:47 petef Exp $ |
1 |
--- wmpuzzle.c.orig Mon Oct 21 22:26:35 2002 |
2 |
|
2 |
+++ wmpuzzle.c Sun Oct 27 17:28:07 2002 |
3 |
--- wmpuzzle.c.orig Thu Apr 18 00:13:52 2002 |
3 |
@@ -254,8 +254,8 @@ |
4 |
+++ wmpuzzle.c Wed May 15 21:21:20 2002 |
4 |
} |
5 |
@@ -22,6 +22,7 @@ |
5 |
} |
6 |
#include "xpm/eagle.xpm" |
6 |
if (image == NULL) { |
7 |
#include "xpm/earth.xpm" |
7 |
- image = strdup("linux"); |
8 |
#include "xpm/linux.xpm" |
8 |
- *wmpuzzle = linux_xpm; |
9 |
+#include "xpm/daemon.xpm" |
9 |
+ image = strdup("daemon"); |
|
|
10 |
+ *wmpuzzle = daemon_xpm; |
11 |
} |
12 |
} |
10 |
|
13 |
|
11 |
#define PROGRAM_NAME "wmpuzzle" |
|
|
12 |
#define PROGRAM_VERSION "0.1.1" |
13 |
@@ -203,6 +204,8 @@ |
14 |
*wmpuzzle = earth_xpm; |
15 |
else if (!strcmp(optarg, "linux")) |
16 |
*wmpuzzle = linux_xpm; |
17 |
+ else if (!strcmp(optarg, "daemon")) |
18 |
+ *wmpuzzle = daemon_xpm; |
19 |
else { |
20 |
fprintf(stderr, "%s: invalid image `%s'\n", PROGRAM_NAME, optarg); |
21 |
exit(1); |
22 |
@@ -224,7 +227,7 @@ |
23 |
printf("Usage: %s [-h] [-i <image>] [-k] [-s <count>] [-v]\n", PROGRAM_NAME); |
24 |
printf(" -h, --help displays this command line summary.\n"); |
25 |
printf(" -i, --image <image> uses <image>, valid images are `debian', `eagle',\n"); |
26 |
- printf(" `earth', and `linux'.\n"); |
27 |
+ printf(" `earth', `linux', and `daemon'.\n"); |
28 |
printf(" -k, --keyboard enables the arrow keys on the keyboard.\n"); |
29 |
printf(" -s, --shuffle <count> shuffles the image <count> times.\n"); |
30 |
printf(" -v, --version displays the version number.\n"); |