Skip to content

Commit

Permalink
fix(zq): 'Gen Flags' being missing from combo advanced paste
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 committed Apr 3, 2024
1 parent 489e322 commit a50934b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/base/combo.cpp
Expand Up @@ -170,6 +170,8 @@ void newcombo::advpaste(newcombo const& other, bitstring const& flags)
attributes[q] = other.attributes[q];
if(flags.get(CMB_ADVP_FLAGS))
usrflags = other.usrflags;
if(flags.get(CMB_ADVP_GENFLAGS))
genflags = other.genflags;
if(flags.get(CMB_ADVP_LABEL))
label = other.label;
if(flags.get(CMB_ADVP_SCRIPT))
Expand Down
1 change: 1 addition & 0 deletions src/base/combo.h
Expand Up @@ -41,6 +41,7 @@ enum
CMB_ADVP_ATTRISHORT,
CMB_ADVP_ATTRIBUTE,
CMB_ADVP_FLAGS,
CMB_ADVP_GENFLAGS,
CMB_ADVP_LABEL,
CMB_ADVP_SCRIPT,
CMB_ADVP_EFFECT,
Expand Down
1 change: 1 addition & 0 deletions src/zq/zq_tiles.cpp
Expand Up @@ -17170,6 +17170,7 @@ bool advpaste(int32_t tile, int32_t tile2, int32_t copy)
"Attrishorts",
"Attributes",
"Flags",
"Gen. Flags",
"Label",
"Script",
"Effect",
Expand Down

0 comments on commit a50934b

Please sign in to comment.