Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/sun Explicitly initialize...



details:   https://anonhg.NetBSD.org/xsrc/rev/d00f5a131d9a
branches:  trunk
changeset: 10513:d00f5a131d9a
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Jul 26 07:35:37 2020 +0000

description:
Explicitly initialize origColormapValid for readability.

diffstat:

 external/mit/xorg-server/dist/hw/sun/sunFbs.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b021af57f0b4 -r d00f5a131d9a external/mit/xorg-server/dist/hw/sun/sunFbs.c
--- a/external/mit/xorg-server/dist/hw/sun/sunFbs.c     Sun Jul 26 07:20:50 2020 +0000
+++ b/external/mit/xorg-server/dist/hw/sun/sunFbs.c     Sun Jul 26 07:35:37 2020 +0000
@@ -141,6 +141,7 @@
     if (!pPrivate)
        return FALSE;
 
+    pPrivate->origColormapValid = FALSE;
     sunSetScreenPrivate(pScreen, pPrivate);
     return TRUE;
 }



Home | Main Index | Thread Index | Old Index