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