summaryrefslogtreecommitdiffstats
path: root/src/ui/studio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/studio.cpp')
-rw-r--r--src/ui/studio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/studio.cpp b/src/ui/studio.cpp
index cba19d6..9de87cf 100644
--- a/src/ui/studio.cpp
+++ b/src/ui/studio.cpp
@@ -505,7 +505,7 @@ void CStudio::SearchToken(CEdit* edit)
for ( i=0 ; i<OBJECT_MAX ; i++ )
{
type = (ObjectType)i;
- text = RetObjectName(type);
+ text = GetObjectName(type);
if ( text[0] != 0 )
{
if ( strcmp(token, text) == 0 )