From 6730bf9fb3361508bb7b65d05e21e428e03bf63a Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Mon, 27 Jan 2014 00:29:19 +0100 Subject: command: Fix typo --- command/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'command/command.c') 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); -- cgit v1.2.1