From 3162d6569e4d196dca58d63835a6470a4bae0fca Mon Sep 17 00:00:00 2001 From: progandy Date: Mon, 8 Oct 2012 00:35:38 +0200 Subject: [PATCH] fix display of progress value when not available. --- dunst_dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunst_dbus.c b/dunst_dbus.c index f909948..9f8cfe5 100644 --- a/dunst_dbus.c +++ b/dunst_dbus.c @@ -296,7 +296,7 @@ void notify(DBusMessage * dmsg) const char *fgcolor = NULL; const char *bgcolor = NULL; int urgency = 1; - int progress = 0; + int progress = -1; notification *n = malloc(sizeof(notification)); dbus_uint32_t replaces_id = 0; dbus_int32_t expires = -1;