Slightly refactored commands.h

master
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;
} command_t;
static const char *cmdline_1[] = { "jpegtran", "-rotate", "270", "-copy", "all",
"-outfile", FILENAME, FILENAME, NULL };
static const char *cmdline_2[] = { "jpegtran", "-rotate", "90", "-copy", "all",
"-outfile", FILENAME, FILENAME, NULL };
static const char *cmdline_3[] = { "mogrify", "-rotate", "-90", FILENAME,
NULL };
static const char *cmdline_4[] = { "mogrify", "-rotate", "+90", FILENAME,
NULL };
static const char *cmdline_1[] = {
"jpegtran", "-rotate", "270", "-copy", "all", "-outfile", FILENAME,
FILENAME, NULL };
static const char *cmdline_2[] = {
"jpegtran", "-rotate", "90", "-copy", "all", "-outfile", FILENAME,
FILENAME, 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[] = {
/* key command-line reload? */