mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-12 06:08:28 -04:00
16 lines
515 B
C++
16 lines
515 B
C++
$NetBSD: patch-FeLib_Source_bitmap.cc,v 1.1 2012/10/11 11:36:20 marino Exp $
|
|
|
|
Fix "error: reclaration of `int c`" on gcc 4.7.
|
|
|
|
--- FeLib/Source/bitmap.cpp.orig 2004-10-26 19:35:47.000000000 +0000
|
|
+++ FeLib/Source/bitmap.cpp
|
|
@@ -881,7 +881,7 @@ void bitmap::DrawLine(int OrigFromX, int
|
|
const int Y2 = OrigToY + PointY[c];
|
|
const int DeltaX = abs(X2 - X1);
|
|
const int DeltaY = abs(Y2 - Y1);
|
|
- int x, c;
|
|
+ int x;
|
|
int XChange, PtrXChange, PtrYChange;
|
|
int DoubleDeltaX, DoubleDeltaY, End;
|
|
|