summaryrefslogtreecommitdiff
path: root/riscos/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/gui.c')
-rw-r--r--riscos/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 79b07be42..902aa7681 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -339,7 +339,7 @@ set_colour_from_wimp(struct nsoption_s *opts,
os_error *error;
os_PALETTE(20) palette;
- error = xwimp_read_palette((os_palette *) &palette);
+ error = xwimp_read_true_palette((os_palette *) &palette);
if (error != NULL) {
LOG(("xwimp_read_palette: 0x%x: %s",
error->errnum, error->errmess));