mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-12-02 00:12:28 +08:00
Fix (maybe uninitialized) on weak compilers.
This commit is contained in:
parent
a8fdfafe6a
commit
1f1229564a
@ -144,8 +144,8 @@ void ScreenInteractive::Loop(Component* component) {
|
|||||||
|
|
||||||
void ScreenInteractive::Draw(Component* component) {
|
void ScreenInteractive::Draw(Component* component) {
|
||||||
auto document = component->Render();
|
auto document = component->Render();
|
||||||
int dimx;
|
int dimx = 0;
|
||||||
int dimy;
|
int dimy = 0;
|
||||||
switch (dimension_) {
|
switch (dimension_) {
|
||||||
case Dimension::Fixed:
|
case Dimension::Fixed:
|
||||||
dimx = dimx_;
|
dimx = dimx_;
|
||||||
|
Loading…
Reference in New Issue
Block a user