mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix compilation with msvc 2019
'uint' is not defined, 'unsigned int' is better.
This commit is contained in:
parent
89901123c5
commit
c7f53afd31
@ -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