diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-06-05 20:40:25 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-06-05 20:40:25 +0000 |
| commit | 47aa8306a659760d5967944af42da27a703dfc63 (patch) | |
| tree | 570ca8238bc3d669f6c7c4395fa2b6af7744742d /src/profile-manager.cpp | |
| parent | Header cleaning for GTK+3 migration (diff) | |
| download | inkscape-47aa8306a659760d5967944af42da27a703dfc63.tar.gz inkscape-47aa8306a659760d5967944af42da27a703dfc63.zip | |
various
(bzr r11461)
Diffstat (limited to 'src/profile-manager.cpp')
| -rw-r--r-- | src/profile-manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ColorProfile*>(obj); - if ( prof && prof->name && !strcmp(name, prof->name) ) { + if (prof && (prof->name && !strcmp(name, prof->name))) { match = prof; break; } |
