diff options
| author | bakkeby <[email protected]> | 2020-08-24 15:03:55 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-08-24 15:03:55 +0200 |
| commit | df57bdeb64a1673276ab6fb2ed00fd6c9ad3c2b1 (patch) | |
| tree | 0070900225cca2864bc367ebe14763dc363e6799 /patch/bar_status2d.c | |
| parent | 7ce66bf122fd8b7288a5e0ddf0d0e312a0f08456 (diff) | |
| download | dwm-flexipatch-df57bdeb64a1673276ab6fb2ed00fd6c9ad3c2b1.tar.gz dwm-flexipatch-df57bdeb64a1673276ab6fb2ed00fd6c9ad3c2b1.zip | |
Identified and fixed a few more cross-compilation issues
Diffstat (limited to 'patch/bar_status2d.c')
| -rw-r--r-- | patch/bar_status2d.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patch/bar_status2d.c b/patch/bar_status2d.c index 8122aa5..d7ae08f 100644 --- a/patch/bar_status2d.c +++ b/patch/bar_status2d.c @@ -15,11 +15,11 @@ int width_status2d_es(Bar *bar, BarWidthArg *a) { int width; - #if BAR_EXTRASTATUS_PATCH || BAR_STATUSCMD_PATCH + #if BAR_STATUSCMD_PATCH width = status2dtextlength(rawestext); #else width = status2dtextlength(estext); - #endif // #if BAR_EXTRASTATUS_PATCH | BAR_STATUSCMD_PATCH + #endif // BAR_STATUSCMD_PATCH return width ? width + lrpad : 0; } #endif // BAR_EXTRASTATUS_PATCH @@ -38,11 +38,11 @@ draw_status2d(Bar *bar, BarDrawArg *a) int draw_status2d_es(Bar *bar, BarDrawArg *a) { - #if BAR_EXTRASTATUS_PATCH || BAR_STATUSCMD_PATCH + #if BAR_STATUSCMD_PATCH return drawstatusbar(a->x, rawestext); #else return drawstatusbar(a->x, estext); - #endif // #if BAR_EXTRASTATUS_PATCH | BAR_STATUSCMD_PATCH + #endif // BAR_STATUSCMD_PATCH } #endif // BAR_EXTRASTATUS_PATCH |
