Skip to content

Commit 2f4a0c9

Browse files
Arg_desc
1 parent 10b8475 commit 2f4a0c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/cascadia/TerminalSettingsModel/ActionArgsMagic.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ struct InitListPlaceholder
6666
#define CTOR_INIT(type, name, jsonKey, required, tag, ...) \
6767
_##name{ name##Param },
6868

69-
#define ARGDESC_STRINGIFY2(x) #x
70-
#define ARGDESC_STRINGIFY(x) ARGDESC_STRINGIFY2(x)
71-
#define ARGDESC_WIDEN2(x) L##x
72-
#define ARGDESC_WIDEN(x) ARGDESC_WIDEN2(x)
73-
#define LOCALIZED_NAME(name) ARGDESC_WIDEN(ARGDESC_STRINGIFY(name##Localized))
69+
#define ARG_DESC_STRINGIFY2(x) #x
70+
#define ARG_DESC_STRINGIFY(x) ARG_DESC_STRINGIFY2(x)
71+
#define ARG_DESC_WIDEN2(x) L##x
72+
#define ARG_DESC_WIDEN(x) ARG_DESC_WIDEN2(x)
73+
#define LOCALIZED_NAME(name) ARG_DESC_WIDEN(ARG_DESC_STRINGIFY(name##Localized))
7474

7575
// append this argument's description to the internal vector
7676
#define APPEND_ARG_DESCRIPTION(type, name, jsonKey, required, tag, ...) \

0 commit comments

Comments
 (0)