projects
/
xmenu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8a7bfdf
)
Improving some error messages
author
phillbush
<phillbush@cock.li>
Wed, 12 Aug 2020 23:05:09 +0000
(20:05 -0300)
committer
phillbush
<phillbush@cock.li>
Wed, 12 Aug 2020 23:05:09 +0000
(20:05 -0300)
xmenu.c
patch
|
blob
|
blame
|
history
diff --git
a/xmenu.c
b/xmenu.c
index
fc4131f
..
4407229
100644
(file)
--- a/
xmenu.c
+++ b/
xmenu.c
@@
-514,7
+514,7
@@
buildmenutree(unsigned level, const char *label, const char *output, char *file)
menu = menu->parent, i++)
;
if (menu == NULL)
- errx(1, "
reached NULL menu
");
+ errx(1, "
improper indentation detected
");
/* find last item in the new menu */
for (item = menu->list; item->next != NULL; item = item->next)
@@
-864,7
+864,7
@@
grabpointer(void)
return;
nanosleep(&ts, NULL);
}
- errx(1, "could not grab
keyboard
");
+ errx(1, "could not grab
pointer
");
}
/* try to grab keyboard, we may have to wait for another process to ungrab */