From 35051a2da23971d7d20f2f4ac7c23bec35053615 Mon Sep 17 00:00:00 2001 From: Dmitry Karasik Date: Sat, 23 Nov 2024 09:07:45 +0100 Subject: [PATCH] typo fix --- unix/graphics.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unix/graphics.c b/unix/graphics.c index 0c653645..b0ac964d 100644 --- a/unix/graphics.c +++ b/unix/graphics.c @@ -1807,7 +1807,7 @@ apc_gp_set_rop2( Handle self, int rop) Bool apc_gp_set_text_colored( Handle self, Bool colored) { - X(self)-> flags. colored = !!colored; + X(self)-> flags. text_colored = !!colored; return true; } @@ -1863,7 +1863,7 @@ apc_gp_push(Handle self, GCStorageFunction * destructor, void * user_data, unsig state->rop2 = XX->rop2; state->text_baseline = XX->flags.base_line; state->text_opaque = XX->flags.opaque; - state->text_colored = XX->flags.colored; + state->text_colored = XX->flags.text_colored; if ( state-> in_paint ) { state->paint.fore = XX->fore; state->paint.back = XX->back; @@ -1923,7 +1923,7 @@ apc_gp_pop( Handle self, void * user_data) XX->rop2 = state->rop2; XX->flags. base_line = state->text_baseline; XX->flags. opaque = state->text_opaque; - XX->flags. colored = state->text_colored; + XX->flags. text_colored= state->text_colored; if ( state-> in_paint ) { XX->fore = state->paint.fore; XX->back = state->paint.back;