diff options
| author | Martin Owens <doctormo@gmail.com> | 2014-03-27 01:33:44 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2014-03-27 01:33:44 +0000 |
| commit | 5a4fb2325f60d292b47330f540b26a3279341c90 (patch) | |
| tree | d2aa7967be25450b83e625025366c618101ae49f /src/profile-manager.cpp | |
| parent | The Polar Arrange Tab of the Arrange Dialog now hides the parametric (diff) | |
| parent | Remove Snap menu item and improve grid menu item text (diff) | |
| download | inkscape-5a4fb2325f60d292b47330f540b26a3279341c90.tar.gz inkscape-5a4fb2325f60d292b47330f540b26a3279341c90.zip | |
Commit a merge to trunk, with probabal errors
(bzr r11073.1.36)
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; } |
