diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2013-09-20 14:59:45 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2013-09-20 14:59:45 +0000 |
| commit | 627ff49d6fb3a7e52bb1430c412eee62311b5a2c (patch) | |
| tree | 62b81f59cd59d3e090d9c94cb1d90418c83d9fb9 /src/xml/quote.cpp | |
| parent | Refactor status-bar text for multiple items, was very broken (diff) | |
| download | inkscape-627ff49d6fb3a7e52bb1430c412eee62311b5a2c.tar.gz inkscape-627ff49d6fb3a7e52bb1430c412eee62311b5a2c.zip | |
make check: Fix harder. Remove muldefs hack and modify quote-test.h
so that the hack is not required any more.
(bzr r12551)
Diffstat (limited to '')
| -rw-r--r-- | src/xml/quote.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xml/quote.cpp b/src/xml/quote.cpp index 030a6c764..c9e001d05 100644 --- a/src/xml/quote.cpp +++ b/src/xml/quote.cpp @@ -19,7 +19,7 @@ /** \return strlen(xml_quote_strdup(\a val)) (without doing the malloc). * \pre val != NULL */ -static size_t +size_t xml_quoted_strlen(char const *val) { size_t ret = 0; @@ -43,11 +43,11 @@ xml_quoted_strlen(char const *val) static void xml_quote(char *dest, char const *src) { -#define COPY_LIT(_lit) do { \ - size_t cpylen = sizeof(_lit "") - 1; \ - memcpy(dest, _lit, cpylen); \ - dest += cpylen; \ - } while(0) +#define COPY_LIT(_lit) do { \ + size_t cpylen = sizeof(_lit "") - 1; \ + memcpy(dest, _lit, cpylen); \ + dest += cpylen; \ + } while(0) for (; *src != '\0'; ++src) { switch (*src) { |
