[Pkg-wmaker-commits] [wmbubble] 79/207: fix const in XrmExtras. Move comment for -m to the right line.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:18:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbubble.
commit 9ff2a8a575e06566cde4c042539c96ba94115a28
Author: Robert Jacobs <rnjacobs at mit.edu>
Date: Thu Aug 18 15:54:02 2011 -0700
fix const in XrmExtras. Move comment for -m to the right line.
---
bubblemon.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bubblemon.c b/bubblemon.c
index 6e8a6a1..1fe172c 100644
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -193,18 +193,18 @@ XrmOptionDescRec x_resource_options[] = {
{"-graphbar", "*graphbar", XrmoptionSepArg, (XPointer) NULL},
{"-graphmarkers", "*graphmarkers", XrmoptionSepArg, (XPointer) NULL},
{"-p", ".graphdigitpale", XrmoptionNoArg, (XPointer) "1"},
- {"-graphs", "*graphs", XrmoptionSepArg, (XPointer) NULL}, /* disable graphs */
- {"-m", "*graphs", XrmoptionIsArg, (XPointer) "no"},
+ {"-graphs", "*graphs", XrmoptionSepArg, (XPointer) NULL},
+ {"-m", "*graphs", XrmoptionIsArg, (XPointer) "no"}, /* disable graphs */
{"-units", "*units", XrmoptionSepArg, (XPointer) NULL}, /* kB or MB */
{"-k", "*units", XrmoptionIsArg, (XPointer) "m"},
{"-shifttime", "*shifttime", XrmoptionSepArg, (XPointer) NULL},
};
const struct XrmExtras {
- const char const * option; /* same as XrmOptionDescRec option */
+ const char * const option; /* same as XrmOptionDescRec option */
const enum { Is_Int, Is_Color, Is_Float, Is_Bool, No_Param } parse_as;
void * write_to;
- const char * description;
+ const char * const description;
} x_resource_extras[] = {
{"-maxbubbles", Is_Int, &bm.maxbubbles, "Maximum number of simultaneous bubbles in the dockapp" },
{"-air_noswap", Is_Color, &bm.air_noswap, "Color of air and bubbles when swap is at 0%" },
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git
More information about the Pkg-wmaker-commits
mailing list