From 7c19aa2a97c1e19b27b66c58a84c46489101950e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 4 Feb 2010 17:21:44 +0000 Subject: Use std::string::empty where possible (faster, and less prone to C string errors). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2420 a436a847-0d15-0410-975c-d299462d15a1 --- src/scripts/python/ingen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripts/python') diff --git a/src/scripts/python/ingen.py b/src/scripts/python/ingen.py index 07698719..d6408406 100644 --- a/src/scripts/python/ingen.py +++ b/src/scripts/python/ingen.py @@ -312,7 +312,7 @@ class Environment: elements = path.split("/") currentPatch = None for element in elements: - if element == "": + if element.empty(): currentPatch = self.omPatch else: currentPatch = currentPatch.getPatch(element,mustexist) -- cgit v1.2.1