diff options
-rw-r--r-- | common/stringop.c | 2 | ||||
-rw-r--r-- | sway/desktop/output.c | 2 | ||||
-rw-r--r-- | swaybar/tray/icon.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/common/stringop.c b/common/stringop.c index 0df2b33d..8c8e9aa2 100644 --- a/common/stringop.c +++ b/common/stringop.c | |||
@@ -96,7 +96,7 @@ char **split_args(const char *start, int *argc) { | |||
96 | bool in_token = false; | 96 | bool in_token = false; |
97 | bool in_string = false; | 97 | bool in_string = false; |
98 | bool in_char = false; | 98 | bool in_char = false; |
99 | bool in_brackets = false; // brackets are used for critera | 99 | bool in_brackets = false; // brackets are used for criteria |
100 | bool escaped = false; | 100 | bool escaped = false; |
101 | const char *end = start; | 101 | const char *end = start; |
102 | if (start) { | 102 | if (start) { |
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 400f1d66..58368f20 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -596,7 +596,7 @@ static void damage_handle_frame(struct wl_listener *listener, void *user_data) { | |||
596 | // We only check tv_sec because if the predicted refresh time is less | 596 | // We only check tv_sec because if the predicted refresh time is less |
597 | // than a second before the current time, then msec_until_refresh will | 597 | // than a second before the current time, then msec_until_refresh will |
598 | // end up slightly below zero, which will effectively disable the delay | 598 | // end up slightly below zero, which will effectively disable the delay |
599 | // without potential disasterous negative overflows that could occur if | 599 | // without potential disastrous negative overflows that could occur if |
600 | // tv_sec was not checked. | 600 | // tv_sec was not checked. |
601 | if (predicted_refresh.tv_sec >= now.tv_sec) { | 601 | if (predicted_refresh.tv_sec >= now.tv_sec) { |
602 | long nsec_until_refresh | 602 | long nsec_until_refresh |
diff --git a/swaybar/tray/icon.c b/swaybar/tray/icon.c index 429bea36..8adefda6 100644 --- a/swaybar/tray/icon.c +++ b/swaybar/tray/icon.c | |||
@@ -188,7 +188,7 @@ static int entry_handler(char *group, char *key, char *value, | |||
188 | * This is a Freedesktop Desktop Entry parser (essentially INI) | 188 | * This is a Freedesktop Desktop Entry parser (essentially INI) |
189 | * It calls entry_handler for every entry | 189 | * It calls entry_handler for every entry |
190 | * and group_handler between every group (as well as at both ends) | 190 | * and group_handler between every group (as well as at both ends) |
191 | * Handlers return whether an error occured, which stops parsing | 191 | * Handlers return whether an error occurred, which stops parsing |
192 | */ | 192 | */ |
193 | static struct icon_theme *read_theme_file(char *basedir, char *theme_name) { | 193 | static struct icon_theme *read_theme_file(char *basedir, char *theme_name) { |
194 | // look for index.theme file | 194 | // look for index.theme file |