summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d73f85e)
This fixes a gcc warning:
xicursorset.c: In function ‘main’:
xicursorset.c:77:2: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
xicursorset.c:79:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
if (theme == NULL) {
^~
theme = XcursorGetTheme(dpy);
if (theme == NULL) {
fprintf(stderr, "Can't get cursor theme.\n");
return EXIT_FAILURE;
}
theme = XcursorGetTheme(dpy);
if (theme == NULL) {
fprintf(stderr, "Can't get cursor theme.\n");
return EXIT_FAILURE;
}
image = XcursorShapeLoadImage(shape, theme, size);
if (image == NULL) {
image = XcursorShapeLoadImage(shape, theme, size);
if (image == NULL) {