summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-01-17 15:21:26 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-01-17 15:22:22 +1000
commitbdaf1ba97cf8b0abb5aeee97a822ee466bf8f5f5 (patch)
treef2242d20eba0ca983eab9b8657f3a58dd0cdb1d1
parent9c1f8f775ca692858fd88e325ef815cc49e55805 (diff)
Undo typos from last commit
Reported-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--configure.ac2
-rw-r--r--src/sis_dri.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a599108..62ad933 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,7 +100,7 @@ AM_CONDITIONAL(DRI, test x$DRI = xyes)
if test "$DRI" = yes; then
PKG_CHECK_MODULES(DRI, [libdrm >= 2.0 xf86driproto])
AC_DEFINE(SISDRI,1,[Enable DRI driver support])
- AC_DEFINE(SIDDRI_DEVEL,1,[Enable developmental DRI driver support])
+ AC_DEFINE(SISDRI_DEVEL,1,[Enable developmental DRI driver support])
fi
# technically this should be a configure flag. meh.
diff --git a/src/sis_dri.c b/src/sis_dri.c
index d0c4fba..97ed951 100644
--- a/src/sis_dri.c
+++ b/src/sis_dri.c
@@ -369,7 +369,7 @@ SISDRIScreenInit(ScreenPtr pScreen)
*/
pDRIInfo->SAREASize =
((sizeof(XF86DRISAREARec) + getpagesize() - 1) & getpagesize()); /* round to page */
- /* ((sizeof(SISDRISAREARec) + 0xfff) & 0x1000); */ /* round to page */
+ /* ((sizeof(XF86DRISAREARec) + 0xfff) & 0x1000); */ /* round to page */
/* + shared memory device private rec */
#else
/* For now the mapping works by using a fixed size defined