diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-02-06 19:03:07 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-02-06 21:17:54 +0100 |
commit | 2685676e118cd63380e6a12ce81ce5d4f0badc0a (patch) | |
tree | e32bbf16aa5d84a68edfa061f68506a876f966fe /src/split.c | |
parent | 20c5d11a3be2843c808ba84f971ed3fed011e144 (diff) | |
download | ratpoison-2685676e118cd63380e6a12ce81ce5d4f0badc0a.zip |
rp_text_width: remove "font" argument
* (globals.[ch]): remove rp_text_width "font" arg, since its value
is always the global variable defaults.font (non-Xft case).
remove one #ifdef while here
* update rp_text_width() calls to match new signature
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/split.c b/src/split.c index 480fca1..1a8bf8e 100644 --- a/src/split.c +++ b/src/split.c @@ -972,8 +972,8 @@ show_frame_message (char *msg) sbuf_concat (msgbuf, EMPTY_FRAME_MESSAGE); } - width = defaults.bar_x_padding * 2 + rp_text_width (s, defaults.font, msgbuf->data, - msgbuf->len); + width = defaults.bar_x_padding * 2 + + rp_text_width (s, msgbuf->data, msgbuf->len); height = (FONT_HEIGHT (s) + defaults.bar_y_padding * 2); /* We don't want another frame indicator to be displayed on another |