summaryrefslogtreecommitdiff
path: root/scene/2d/path_2d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-08 12:24:30 +0200
committerGitHub <noreply@github.com>2019-04-08 12:24:30 +0200
commit918de768a550b89da0d232f2040fa618bb10e25a (patch)
tree5d5e499becefbc8fc4a08e7a06dd0a99a2059887 /scene/2d/path_2d.cpp
parent3cf2bdbd8416ffd39c105bf64fc3544424d0a2cf (diff)
parentad2127a3e8b274d4946a35cafd31c904a3de294b (diff)
Merge pull request #27711 from neikeq/ifdef-clang-tidy
Replace a few #if/#elif with #ifdef and "#elif defined"
Diffstat (limited to 'scene/2d/path_2d.cpp')
-rw-r--r--scene/2d/path_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/path_2d.cpp b/scene/2d/path_2d.cpp
index fec861ad2f..4097006b33 100644
--- a/scene/2d/path_2d.cpp
+++ b/scene/2d/path_2d.cpp
@@ -95,7 +95,7 @@ void Path2D::_notification(int p_what) {
return;
}
-#if TOOLS_ENABLED
+#ifdef TOOLS_ENABLED
const float line_width = 2 * EDSCALE;
#else
const float line_width = 2;