remove trailing whitespaces
This commit is contained in:
parent
1ccb6185ac
commit
27eb2bcbe6
2
dunst.c
2
dunst.c
@ -239,7 +239,7 @@ gboolean run(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (xctx.visible && (pause_display || displayed->length == 0)) {
|
if (xctx.visible && (pause_display || displayed->length == 0)) {
|
||||||
x_win_hide();
|
x_win_hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xctx.visible) {
|
if (xctx.visible) {
|
||||||
|
@ -240,7 +240,7 @@ void add_hint(NotifyNotification *n, char *str)
|
|||||||
gint h_byte = g_ascii_strtoull(value, NULL, 10);
|
gint h_byte = g_ascii_strtoull(value, NULL, 10);
|
||||||
if (h_byte < 0 || h_byte > 0xFF)
|
if (h_byte < 0 || h_byte > 0xFF)
|
||||||
g_printerr("Not a byte: \"%s\"", value);
|
g_printerr("Not a byte: \"%s\"", value);
|
||||||
else
|
else
|
||||||
notify_notification_set_hint_byte(n, name, (guchar) h_byte);
|
notify_notification_set_hint_byte(n, name, (guchar) h_byte);
|
||||||
} else
|
} else
|
||||||
g_printerr("Malformed hint. Expected a type of int, double, string or byte, got %s\n", type);
|
g_printerr("Malformed hint. Expected a type of int, double, string or byte, got %s\n", type);
|
||||||
|
2
menu.c
2
menu.c
@ -151,7 +151,7 @@ void dispatch_menu_result(const char *input)
|
|||||||
in = strchr(in, ']');
|
in = strchr(in, ']');
|
||||||
if (in == NULL)
|
if (in == NULL)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
{ // test and open url
|
{ // test and open url
|
||||||
char *maybe_url = extract_urls(in);
|
char *maybe_url = extract_urls(in);
|
||||||
if (maybe_url) {
|
if (maybe_url) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user