Revision: 76895
http://sourceforge.net/p/brlcad/code/76895
Author: starseeker
Date: 2020-08-22 23:49:24 +0000 (Sat, 22 Aug 2020)
Log Message:
-----------
Check implementation, not wrapping pointer
Modified Paths:
--------------
brlcad/trunk/src/libdm/if_stack.c
Modified: brlcad/trunk/src/libdm/if_stack.c
===================================================================
--- brlcad/trunk/src/libdm/if_stack.c 2020-08-22 22:23:10 UTC (rev 76894)
+++ brlcad/trunk/src/libdm/if_stack.c 2020-08-22 23:49:24 UTC (rev 76895)
@@ -95,7 +95,7 @@
*dp++ = *cp++;
*dp = '\0';
if ((fbp = fb_open(devbuf, width, height)) != FB_NULL) {
- FB_CK_FB(fbp);
+ FB_CK_FB(fbp->i);
/* Track the minimum of all the actual sizes */
if (fbp->i->if_width < ifp->i->if_width)
ifp->i->if_width = fbp->i->if_width;
@@ -160,7 +160,7 @@
FB_CK_FB(ifp->i);
while (*ip != (struct fb *)NULL) {
- FB_CK_FB((*ip));
+ FB_CK_FB(((*ip)->i));
fb_close((*ip));
ip++;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits