Skip to content

Commit f447fda

Browse files
Merge pull request #128 from dreamer-coding/rm_attr_flag
remove unused flag for attr
2 parents b408655 + 66fef9c commit f447fda

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

code/logic/common.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,6 @@ pizza_fstream_t *PIZZA_STDOUT;
13151315
pizza_fstream_t *PIZZA_STDERR;
13161316

13171317
int32_t PIZZA_IO_COLOR_ENABLE = 1; // Flag to enable/disable color output
1318-
int32_t FOSSIL_IO_ATTR_ENABLE = 1; // Flag to enable/disable attribute output
13191318

13201319
// Define color codes for output
13211320
#define FOSSIL_IO_COLOR_RESET "\033[0m"
@@ -1478,9 +1477,7 @@ void pizza_io_print_with_attributes(const char *format, ...) {
14781477
if (PIZZA_IO_COLOR_ENABLE && color) {
14791478
pizza_io_apply_color(color);
14801479
}
1481-
if (FOSSIL_IO_ATTR_ENABLE && attribute) {
1482-
pizza_io_apply_attribute(attribute);
1483-
}
1480+
pizza_io_apply_attribute(attribute);
14841481
}
14851482

14861483
// Move past '}' and continue processing

0 commit comments

Comments
 (0)