mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
Sync zwidget upstream changes
This commit is contained in:
parent
cbb89315e7
commit
e3d3ba2c86
2 changed files with 4 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <vector>
|
||||
#include <stdexcept>
|
||||
#include <memory>
|
||||
#include <cstring>
|
||||
|
||||
typedef uint8_t ttf_uint8;
|
||||
typedef uint16_t ttf_uint16;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue