Identified and fixed a few more cross-compilation issues related to prior refactoring / simplification

This commit is contained in:
bakkeby
2020-08-24 00:26:26 +02:00
parent 939a407e25
commit 7ce66bf122
5 changed files with 7 additions and 11 deletions

View File

@@ -12,11 +12,7 @@ textw_wosc(char *s)
}
ctmp = *ts;
*ts = '\0';
#if BAR_PANGO_PATCH
sw += drw_font_getwidth(drw, tp, True);
#else
sw += drw_fontset_getwidth(drw, tp);
#endif // BAR_PANGO_PATCH
sw += drw_fontset_getwidth(drw, tp, True);
*ts = ctmp;
if (ctmp == '\0')
break;