diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-27 00:29:19 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-27 00:29:19 +0100 |
commit | 6730bf9fb3361508bb7b65d05e21e428e03bf63a (patch) | |
tree | 442b839d1ecaa37eb09e6322f159480c18d72733 | |
parent | e772427432694eda21c6da5a84898555479301c5 (diff) | |
download | mate-applets-6730bf9fb3361508bb7b65d05e21e428e03bf63a.tar.bz2 mate-applets-6730bf9fb3361508bb7b65d05e21e428e03bf63a.tar.xz |
command: Fix typo
-rw-r--r-- | command/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/command/command.c b/command/command.c index e505fcb6..319944d9 100644 --- a/command/command.c +++ b/command/command.c @@ -36,7 +36,7 @@ #define INTERVAL_KEY "interval" #define SHOW_ICON_KEY "show-icon" -#define MAX_OUTPUT_LENGHT 30 +#define MAX_OUTPUT_LENGTH 30 typedef struct { @@ -213,10 +213,10 @@ command_execute (CommandApplet *command_applet) { if ((output != NULL) && (output[0] != 0)) { - if (strlen(output) > MAX_OUTPUT_LENGHT) + if (strlen(output) > MAX_OUTPUT_LENGTH) { GString *strip_output; - strip_output = g_string_new_len (output, MAX_OUTPUT_LENGHT); + strip_output = g_string_new_len (output, MAX_OUTPUT_LENGTH); g_free (output); output = strip_output->str; g_string_free (strip_output, FALSE); |