[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH 1/6] wineconsole: Add if check to determine whether a font attribute has changed (v2)
From: Dmitry Timoshkov <dmitry () baikal ! ru>
Date: 2015-10-29 11:54:33
Message-ID: 20151029195433.de80f7e0.dmitry () baikal ! ru
[Download RAW message or body]
Hugh McMaster <hugh.mcmaster@outlook.com> wrote:
> > > + if (strcmpW(data->curcfg.face_name, cfg->face_name) || \
> > > data->curcfg.cell_width != cfg->cell_width || + data->curcfg.cell_height \
> > > != cfg->cell_height || data->curcfg.font_weight != cfg->font_weight) {
> > > data->fnSetFont(data, cfg->face_name, cfg->cell_height, cfg->font_weight);
> > > }
> >
> > Font names should be tested using a case insensitive check.
>
> Do we use strcmpiW, lstrcmpiW or a function defined in wine/unicode.h for that?
Using any of them should be fine.
--
Dmitry.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic