From 0b2675c74da7dfdf6414c02e54b6669b8c404100 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lamoureux Date: Sat, 21 Nov 2009 17:22:29 +0000 Subject: [PATCH] * Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab --- XCode/libcacaXCode.xcodeproj/project.pbxproj | 2 ++ caca/transform.c | 2 +- caca/triangle.c | 8 ++++---- examples/trifiller.c | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/XCode/libcacaXCode.xcodeproj/project.pbxproj b/XCode/libcacaXCode.xcodeproj/project.pbxproj index a11cae4..8d216a4 100644 --- a/XCode/libcacaXCode.xcodeproj/project.pbxproj +++ b/XCode/libcacaXCode.xcodeproj/project.pbxproj @@ -22,6 +22,7 @@ E6A7682410B561CE008B6DEC /* caca-font.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "caca-font.h"; path = "../ruby/caca-font.h"; sourceTree = SOURCE_ROOT; }; E6A7682510B561CE008B6DEC /* caca.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = caca.c; path = ../ruby/caca.c; sourceTree = SOURCE_ROOT; }; E6A7682610B561CE008B6DEC /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common.h; path = ../ruby/common.h; sourceTree = SOURCE_ROOT; }; + E6A769B410B85819008B6DEC /* check-build */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = "check-build"; path = "../tests/check-build"; sourceTree = SOURCE_ROOT; }; E6DB65F610AECC7800B6F924 /* attr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = attr.c; path = ../caca/attr.c; sourceTree = SOURCE_ROOT; }; E6DB65F710AECC7800B6F924 /* box.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = box.c; path = ../caca/box.c; sourceTree = SOURCE_ROOT; }; E6DB65F810AECC7800B6F924 /* caca_conio.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = caca_conio.c; path = ../caca/caca_conio.c; sourceTree = SOURCE_ROOT; }; @@ -113,6 +114,7 @@ 08FB7794FE84155DC02AAC07 /* XCode */ = { isa = PBXGroup; children = ( + E6A769B410B85819008B6DEC /* check-build */, E6A7681A10B561B9008B6DEC /* ruby */, E6A7681510B560AE008B6DEC /* cxx */, E6DB66FA10B176D100B6F924 /* configure.ac */, diff --git a/caca/transform.c b/caca/transform.c index ed43663..1bdf89a 100644 --- a/caca/transform.c +++ b/caca/transform.c @@ -192,7 +192,7 @@ int caca_rotate_180(caca_canvas_t *cv) int y; if(!cbegin) - return 0; + return 0; while(cbegin < cend) { diff --git a/caca/triangle.c b/caca/triangle.c index 1e1e47d..97d06a2 100644 --- a/caca/triangle.c +++ b/caca/triangle.c @@ -1,4 +1,4 @@ -/* +/* * libcaca Colour ASCII-Art library * Copyright (c) 2002-2006 Sam Hocevar * All Rights Reserved @@ -12,7 +12,7 @@ * http://sam.zoy.org/wtfpl/COPYING for more details. */ -/* +/* * This file contains triangle drawing functions, both filled and outline. */ @@ -306,7 +306,7 @@ static int caca_fill_triangle_textured_l(caca_canvas_t * cv, /* Bottom */ xb = (float)x2; - /* These variables are set by 'top' routine and are in an incorrect state + /* These variables are set by 'top' routine and are in an incorrect state if we only draw the bottom part */ if (y1 == y2) { @@ -385,7 +385,7 @@ int caca_fill_triangle_textured(caca_canvas_t * cv, -/* +/* * XXX: The following functions are aliases. */ diff --git a/examples/trifiller.c b/examples/trifiller.c index 877b45c..238f38f 100644 --- a/examples/trifiller.c +++ b/examples/trifiller.c @@ -1,4 +1,4 @@ -/* +/* * trifiller texture mapping features * Copyright (c) 2009 Jean-Yves Lamoureux * All Rights Reserved