diff options
| author | steven-vd <steven@vandorp.lu> | 2026-09-04 10:05:08 +0200 |
|---|---|---|
| committer | steven-vd <steven@vandorp.lu> | 2026-09-04 10:05:08 +0200 |
| commit | 22dd68c097ff94e409a4f676dafb2a8f4a2aa5a3 (patch) | |
| tree | ff4e43bb3ffbb3dac2062e99b42b9804e67b98d4 | |
| parent | e52fbd410b184e09abf3534e1ae43b0f4bd47a84 (diff) | |
minor imxml_strlit change for clarity
| -rw-r--r-- | imxml.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -567,7 +567,7 @@ IMXMLAPI bool imxml_memeql_ (ImxmlCharSequence a, ImxmlCharSequence b, size_t n) #ifndef IMXML_CUSTOM_STRING IMXMLAPI ImxmlString imxml_strsubcstr (ImxmlCharSequence cstr, ImxmlStrLen len); #ifdef __STDC_VERSION__ -#define imxml_strlit(lit) (ImxmlString){.IMXML_STRCOUNT = sizeof(lit) - 1, .IMXML_STRITEMS = "" lit} +#define imxml_strlit(lit) (ImxmlString){.IMXML_STRCOUNT = sizeof(""lit) - 1, .IMXML_STRITEMS = lit} #endif /*__STDC_VERSION__*/ #define imxml_strlit89(res, lit) do { \ (res).IMXML_STRITEMS = lit; \ |
