mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fix compilation with msvc 2019
'uint' is not defined, 'unsigned int' is better.
(cherry picked from commit c7f53afd31
)
This commit is contained in:
parent
89afdb050f
commit
25f1174203
@ -5958,7 +5958,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// Argument?
|
||||
if (!arg.empty()) {
|
||||
if (isStrUnsignedInt(arg)) {
|
||||
num = convert<uint>(arg);
|
||||
num = convert<unsigned int>(arg);
|
||||
if (num >= freeFonts.size()) {
|
||||
cur.message(_("Invalid argument (number exceeds stack size)!"));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user