1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

gui-windows: make the wcwidth_impl global var into static

This commit is contained in:
dequis 2018-08-27 00:01:47 -03:00
parent 071ada830b
commit 92804cb1aa

View File

@ -31,7 +31,7 @@
#include "gui-printtext.h"
static int window_create_override;
int wcwidth_impl;
static int wcwidth_impl;
static GUI_WINDOW_REC *gui_window_init(WINDOW_REC *window,
MAIN_WINDOW_REC *parent)
@ -205,6 +205,7 @@ void gui_windows_reset_settings(void)
{
GSList *tmp;
int old_wcwidth_impl = wcwidth_impl;
wcwidth_impl = settings_get_choice("wcwidth_implementation");
for (tmp = windows; tmp != NULL; tmp = tmp->next) {