mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
perspective tool: Fix uninitialized variable
This commit is contained in:
parent
e7e56ef5e0
commit
9c2d6169c6
@ -35,6 +35,8 @@
|
||||
#include <libaegisub/split.h>
|
||||
#include <libaegisub/util.h>
|
||||
|
||||
#include <libaegisub/log.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <wx/colour.h>
|
||||
|
||||
@ -783,7 +785,7 @@ void VisualToolPerspective::TextToPersp() {
|
||||
GetLineBaseExtents(active_line, textwidth, textheight, descend, extlead);
|
||||
textwidth = std::max(textwidth, 1.);
|
||||
textheight = std::max(textheight, 1.);
|
||||
double textleft, texttop = 0.;
|
||||
double textleft = 0., texttop = 0.;
|
||||
|
||||
switch ((align - 1) % 3) {
|
||||
case 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user