aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/label.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-01-14 18:03:38 +0100
committerRémi Verschelde2017-01-16 08:49:52 +0100
commitf44ee891beaad397481dd88da41cb80e6539774f (patch)
tree82ce10e73d3b1da6229618ce93222ee49e34841b /scene/gui/label.cpp
parente2a3f06f3d0c49d87b86c12407d69174b58ae448 (diff)
downloadgodot-f44ee891beaad397481dd88da41cb80e6539774f.tar.gz
godot-f44ee891beaad397481dd88da41cb80e6539774f.tar.zst
godot-f44ee891beaad397481dd88da41cb80e6539774f.zip
Diffstat (limited to 'scene/gui/label.cpp')
-rw-r--r--scene/gui/label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp
index cd500a62b..d32b4c6de 100644
--- a/scene/gui/label.cpp
+++ b/scene/gui/label.cpp
@@ -204,7 +204,7 @@ void Label::_notification(int p_what) {
} break;
case ALIGN_CENTER: {
- x_ofs=int(size.width-(taken+spaces*space_w))/2;;
+ x_ofs=int(size.width-(taken+spaces*space_w))/2;
} break;
case ALIGN_RIGHT: {