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:
70063f1
)
cannot → could not
author
phillbush
<phillbush@cock.li>
Wed, 12 Aug 2020 23:01:05 +0000
(20:01 -0300)
committer
phillbush
<phillbush@cock.li>
Wed, 12 Aug 2020 23:01:05 +0000
(20:01 -0300)
xmenu.c
patch
|
blob
|
blame
|
history
diff --git
a/xmenu.c
b/xmenu.c
index
3c83cd3
..
fc4131f
100644
(file)
--- a/
xmenu.c
+++ b/
xmenu.c
@@
-142,7
+142,7
@@
main(int argc, char *argv[])
/* open connection to server and set X variables */
if ((dpy = XOpenDisplay(NULL)) == NULL)
/* open connection to server and set X variables */
if ((dpy = XOpenDisplay(NULL)) == NULL)
- errx(1, "c
an
not open display");
+ errx(1, "c
ould
not open display");
screen = DefaultScreen(dpy);
visual = DefaultVisual(dpy, screen);
rootwin = RootWindow(dpy, screen);
screen = DefaultScreen(dpy);
visual = DefaultVisual(dpy, screen);
rootwin = RootWindow(dpy, screen);
@@
-267,7
+267,7
@@
parsefonts(const char *s)
if ((dc.pattern = FcNameParse((FcChar8 *)buf)) == NULL)
errx(1, "the first font in the cache must be loaded from a font string");
if ((dc.fonts[nfont++] = XftFontOpenName(dpy, screen, buf)) == NULL)
if ((dc.pattern = FcNameParse((FcChar8 *)buf)) == NULL)
errx(1, "the first font in the cache must be loaded from a font string");
if ((dc.fonts[nfont++] = XftFontOpenName(dpy, screen, buf)) == NULL)
- errx(1, "c
an
not load font");
+ errx(1, "c
ould
not load font");
}
}
}
}
@@
-276,7
+276,7
@@
static void
ealloccolor(const char *s, XftColor *color)
{
if(!XftColorAllocName(dpy, visual, colormap, s, color))
ealloccolor(const char *s, XftColor *color)
{
if(!XftColorAllocName(dpy, visual, colormap, s, color))
- errx(1, "c
an
not allocate color: %s", s);
+ errx(1, "c
ould
not allocate color: %s", s);
}
/* query monitor information and cursor position */
}
/* query monitor information and cursor position */
@@
-864,7
+864,7
@@
grabpointer(void)
return;
nanosleep(&ts, NULL);
}
return;
nanosleep(&ts, NULL);
}
- errx(1, "c
an
not grab keyboard");
+ errx(1, "c
ould
not grab keyboard");
}
/* try to grab keyboard, we may have to wait for another process to ungrab */
}
/* try to grab keyboard, we may have to wait for another process to ungrab */
@@
-880,7
+880,7
@@
grabkeyboard(void)
return;
nanosleep(&ts, NULL);
}
return;
nanosleep(&ts, NULL);
}
- errx(1, "c
an
not grab keyboard");
+ errx(1, "c
ould
not grab keyboard");
}
/* load and scale icon */
}
/* load and scale icon */
@@
-894,7
+894,7
@@
loadicon(const char *file)
icon = imlib_load_image(file);
if (icon == NULL)
icon = imlib_load_image(file);
if (icon == NULL)
- errx(1, "c
an
not load icon %s", file);
+ errx(1, "c
ould
not load icon %s", file);
imlib_context_set_image(icon);
imlib_context_set_image(icon);