Add missing MAX macros, ensure that i3 can be compiled without pango
This commit is contained in:
committed by
Kacper Kowalik
parent
d68387bf5d
commit
301320585e
@ -341,10 +341,12 @@ char *pango_escape_markup(char *input) {
|
||||
if (!font_is_pango())
|
||||
return input;
|
||||
|
||||
#if PANGO_SUPPORT
|
||||
char *escaped = g_markup_escape_text(input, -1);
|
||||
FREE(input);
|
||||
|
||||
return escaped;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user