commit 37dbf9ce24169baeb00227fcb3aa075074a89e29 from: Omar Polo date: Thu Oct 11 20:57:38 2018 UTC Fixed non-xft compilation error commit - fca4bf859eaf45b416f0972f1bee511625e75450 commit + 37dbf9ce24169baeb00227fcb3aa075074a89e29 blob - a6d56404c2afb6fcf1c92f44a9148bb21b33b027 blob + c84331472c5aac7a0572744e471fdb8f42cccfb9 --- mymenu.c +++ mymenu.c @@ -532,9 +532,9 @@ draw_string(char *str, int len, int x, int y, struct r XftDrawStringUtf8(r->xftdraw, &xftcolor, r->font, x, y, str, len); #else GC gc; - if (tt == PROMPT) gc = r->prompt; - if (tt == COMPL) gc = r->completion; - if (tt == COMPL_HIGH) gc = r->completion_highlighted; + if (tt == PROMPT) gc = r->fgs[0]; + if (tt == COMPL) gc = r->fgs[1]; + if (tt == COMPL_HIGH) gc = r->fgs[2]; Xutf8DrawString(r->d, r->w, r->font, gc, x, y, str, len); #endif }