mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Fix previous commit which breaks building with X11
This commit is contained in:
parent
26fc643ffb
commit
549e9740ff
@ -2916,7 +2916,7 @@ static int do_config_step(int *line, FILE *fp, char *buf, char **name, char **va
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef X11
|
#ifdef BUILD_X11
|
||||||
void setalignment(int* text_alignment, unsigned int windowtype, const char* value, const char *f, int line, bool conffile) {
|
void setalignment(int* text_alignment, unsigned int windowtype, const char* value, const char *f, int line, bool conffile) {
|
||||||
#ifdef OWN_WINDOW
|
#ifdef OWN_WINDOW
|
||||||
if (windowtype == TYPE_DOCK) {
|
if (windowtype == TYPE_DOCK) {
|
||||||
@ -2937,7 +2937,7 @@ void setalignment(int* text_alignment, unsigned int windowtype, const char* valu
|
|||||||
CONF_ERR;
|
CONF_ERR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* X11 */
|
#endif /* BUILD_X11 */
|
||||||
|
|
||||||
char load_config_file(const char *f)
|
char load_config_file(const char *f)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user