Sync zwidget upstream changes

This commit is contained in:
Magnus Norddahl 2024-01-07 11:48:17 +01:00 committed by Christoph Oelckers
parent cbb89315e7
commit e3d3ba2c86
2 changed files with 4 additions and 3 deletions

View file

@ -5,6 +5,7 @@
#include <vector>
#include <stdexcept>
#include <memory>
#include <cstring>
typedef uint8_t ttf_uint8;
typedef uint16_t ttf_uint16;

View file

@ -123,11 +123,11 @@ void LineEdit::SetReadOnly(bool enable)
}
}
void LineEdit::SetAlignment(Alignment alignment)
void LineEdit::SetAlignment(Alignment newalignment)
{
if (alignment != alignment)
if (alignment != newalignment)
{
alignment = alignment;
alignment = newalignment;
Update();
}
}