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

4
drw.c
View File

@@ -618,11 +618,11 @@ drw_map(Drw *drw, Window win, int x, int y, unsigned int w, unsigned int h)
}
unsigned int
drw_fontset_getwidth(Drw *drw, const char *text, Bool ignored)
drw_fontset_getwidth(Drw *drw, const char *text, Bool markup)
{
if (!drw || !drw->fonts || !text)
return 0;
return drw_text(drw, 0, 0, 0, 0, 0, text, 0, ignored);
return drw_text(drw, 0, 0, 0, 0, 0, text, 0, markup);
}
#if BAR_PANGO_PATCH