From 47aa8306a659760d5967944af42da27a703dfc63 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Tue, 5 Jun 2012 22:40:25 +0200 Subject: various (bzr r11461) --- src/profile-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/profile-manager.cpp') diff --git a/src/profile-manager.cpp b/src/profile-manager.cpp index e2a3e736d..90b124195 100644 --- a/src/profile-manager.cpp +++ b/src/profile-manager.cpp @@ -78,7 +78,7 @@ ColorProfile* ProfileManager::find(gchar const* name) for ( unsigned int index = 0; index < howMany; index++ ) { SPObject *obj = nthChildOf(NULL, index); ColorProfile* prof = reinterpret_cast(obj); - if ( prof && prof->name && !strcmp(name, prof->name) ) { + if (prof && (prof->name && !strcmp(name, prof->name))) { match = prof; break; } -- cgit v1.2.3