From 31d09534f862ba0bfa3ccdba38d2e50532714cb6 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 24 Mar 2019 20:43:21 +0000 Subject: Oops, my previous commit to libvgl was missing the change of VGLSetBorder() to match the change in its declaration. Change the declaration back to "byte color" since setting of the border color is not supported for more than 256 colors. --- lib/libvgl/vgl.3 | 2 +- lib/libvgl/vgl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libvgl/vgl.3 b/lib/libvgl/vgl.3 index 749ca3b65576..effc4ffab812 100644 --- a/lib/libvgl/vgl.3 +++ b/lib/libvgl/vgl.3 @@ -127,7 +127,7 @@ .Ft void .Fn VGLSetPaletteIndex "byte color" "byte red" "byte green" "byte blue" .Ft void -.Fn VGLSetBorder "u_long color" +.Fn VGLSetBorder "byte color" .Ft int .Fn VGLSetVScreenSize "VGLBitmap *object" "int vxsize" "int vysize" .Ft int diff --git a/lib/libvgl/vgl.h b/lib/libvgl/vgl.h index ca5779ab8028..48d2dbf39765 100644 --- a/lib/libvgl/vgl.h +++ b/lib/libvgl/vgl.h @@ -146,7 +146,7 @@ void VGLRestorePalette(void); void VGLSavePalette(void); void VGLSetPalette(byte *red, byte *green, byte *blue); void VGLSetPaletteIndex(byte color, byte red, byte green, byte blue); -void VGLSetBorder(u_long color); +void VGLSetBorder(byte color); void VGLBlankDisplay(int blank); /* text.c */ int VGLTextSetFontFile(char *filename); -- cgit v1.2.3