diff options
| author | Jasper van de Gronde <jasper.vandegronde@gmail.com> | 2008-07-18 19:10:58 +0000 |
|---|---|---|
| committer | jaspervdg <jaspervdg@users.sourceforge.net> | 2008-07-18 19:10:58 +0000 |
| commit | 50a6044bb4ab605004e5c82733f8f4fb7042f311 (patch) | |
| tree | e35cb9f6b9cfc057f2493662c8dbecd0ddb56a0d /src/streq.h | |
| parent | make the resolution for create bitmap copy settable in ui (diff) | |
| download | inkscape-50a6044bb4ab605004e5c82733f8f4fb7042f311.tar.gz inkscape-50a6044bb4ab605004e5c82733f8f4fb7042f311.zip | |
Fix for PathString to prevent it from getting into a very, very long copying run and make it use minimumexponent. Plus some extra tests.
(bzr r6355)
Diffstat (limited to 'src/streq.h')
| -rw-r--r-- | src/streq.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/streq.h b/src/streq.h index c790db9e8..06f78e1e5 100644 --- a/src/streq.h +++ b/src/streq.h @@ -11,6 +11,12 @@ streq(char const *a, char const *b) return std::strcmp(a, b) == 0; } +struct streq_rel { + bool operator()(char const *a, char const *b) const + { + return (std::strcmp(a, b) == 0); + } +}; #endif /* !INKSCAPE_STREQ_H */ |
