change initfont proto

This commit is contained in:
Julien Danjou 2007-09-26 20:18:49 +02:00
parent bf0ddca247
commit 6f3e0a3a2d
1 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
#include "layouts/max.h"
#include "layouts/floating.h"
static void initfont(const char *, Display *, DC *);
static void initfont(Display *, DC *, const char *);
static unsigned long initcolor(const char *, Display *, int);
static unsigned int get_numlockmask(Display *);
@ -200,7 +200,7 @@ parse_config(Display * disp, int scr, DC * drawcontext, awesome_config *awesomec
/* font */
tmp = config_lookup_string(&awesomelibconf, "awesome.font");
initfont(tmp ? tmp : "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*", disp, drawcontext);
initfont(disp, drawcontext, tmp ? tmp : "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*");
/* layouts */
conflayouts = config_lookup(&awesomelibconf, "awesome.layouts");
@ -415,7 +415,7 @@ parse_config(Display * disp, int scr, DC * drawcontext, awesome_config *awesomec
* \param drawcontext Draw context
*/
static void
initfont(const char *fontstr, Display * disp, DC * drawcontext)
initfont(Display *disp, DC *drawcontext, const char *fontstr)
{
char *def, **missing;
int i, n;