Slightly refactored commands.h

This commit is contained in:
Bert 2011-03-01 22:14:09 +01:00
parent c05fd44bdd
commit 50e8fbf7b3
1 changed files with 13 additions and 8 deletions

View File

@ -6,14 +6,19 @@ typedef struct {
Bool reload; Bool reload;
} command_t; } command_t;
static const char *cmdline_1[] = { "jpegtran", "-rotate", "270", "-copy", "all", static const char *cmdline_1[] = {
"-outfile", FILENAME, FILENAME, NULL }; "jpegtran", "-rotate", "270", "-copy", "all", "-outfile", FILENAME,
static const char *cmdline_2[] = { "jpegtran", "-rotate", "90", "-copy", "all", FILENAME, NULL };
"-outfile", FILENAME, FILENAME, NULL };
static const char *cmdline_3[] = { "mogrify", "-rotate", "-90", FILENAME, static const char *cmdline_2[] = {
NULL }; "jpegtran", "-rotate", "90", "-copy", "all", "-outfile", FILENAME,
static const char *cmdline_4[] = { "mogrify", "-rotate", "+90", FILENAME, FILENAME, NULL };
NULL };
static const char *cmdline_3[] = {
"mogrify", "-rotate", "-90", FILENAME, NULL };
static const char *cmdline_4[] = {
"mogrify", "-rotate", "+90", FILENAME, NULL };
static command_t commands[] = { static command_t commands[] = {
/* key command-line reload? */ /* key command-line reload? */