blob: cc5a90e3d2ffbf62808f907cf1f43ffdfe3ec1b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- wordrec/render.cpp.orig 2009-09-11 05:04:06.000000000 -0400
+++ wordrec/render.cpp 2009-09-11 05:07:37.000000000 -0400
@@ -108,13 +108,13 @@
* that was supplied as input.
**********************************************************************/
void render_edgepts(void *window, EDGEPT *edgept, C_COL color) {
+ if (!edgept)
+ return;
+
float x = edgept->pos.x;
float y = edgept->pos.y;
EDGEPT *this_edge = edgept;
- if (!edgept)
- return;
-
c_line_color_index(window, color);
c_move(window, x, y);
do {
|