Browse Source

* Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab

tags/v0.99.beta17
Jean-Yves Lamoureux jylam 15 years ago
parent
commit
0b2675c74d
4 changed files with 8 additions and 6 deletions
  1. +2
    -0
      XCode/libcacaXCode.xcodeproj/project.pbxproj
  2. +1
    -1
      caca/transform.c
  3. +4
    -4
      caca/triangle.c
  4. +1
    -1
      examples/trifiller.c

+ 2
- 0
XCode/libcacaXCode.xcodeproj/project.pbxproj View File

@@ -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; }; 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; }; 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; }; 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; }; 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; }; 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; }; 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 */ = { 08FB7794FE84155DC02AAC07 /* XCode */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
E6A769B410B85819008B6DEC /* check-build */,
E6A7681A10B561B9008B6DEC /* ruby */, E6A7681A10B561B9008B6DEC /* ruby */,
E6A7681510B560AE008B6DEC /* cxx */, E6A7681510B560AE008B6DEC /* cxx */,
E6DB66FA10B176D100B6F924 /* configure.ac */, E6DB66FA10B176D100B6F924 /* configure.ac */,


+ 1
- 1
caca/transform.c View File

@@ -192,7 +192,7 @@ int caca_rotate_180(caca_canvas_t *cv)
int y; int y;


if(!cbegin) if(!cbegin)
return 0;
return 0;


while(cbegin < cend) while(cbegin < cend)
{ {


+ 4
- 4
caca/triangle.c View File

@@ -1,4 +1,4 @@
/*
/*
* libcaca Colour ASCII-Art library * libcaca Colour ASCII-Art library
* Copyright (c) 2002-2006 Sam Hocevar <sam@zoy.org> * Copyright (c) 2002-2006 Sam Hocevar <sam@zoy.org>
* All Rights Reserved * All Rights Reserved
@@ -12,7 +12,7 @@
* http://sam.zoy.org/wtfpl/COPYING for more details. * http://sam.zoy.org/wtfpl/COPYING for more details.
*/ */


/*
/*
* This file contains triangle drawing functions, both filled and outline. * 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 */ /* Bottom */
xb = (float)x2; 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 we only draw the bottom part */
if (y1 == y2) if (y1 == y2)
{ {
@@ -385,7 +385,7 @@ int caca_fill_triangle_textured(caca_canvas_t * cv,






/*
/*
* XXX: The following functions are aliases. * XXX: The following functions are aliases.
*/ */




+ 1
- 1
examples/trifiller.c View File

@@ -1,4 +1,4 @@
/*
/*
* trifiller texture mapping features * trifiller texture mapping features
* Copyright (c) 2009 Jean-Yves Lamoureux <jylam@lnxscene.org> * Copyright (c) 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
* All Rights Reserved * All Rights Reserved


Loading…
Cancel
Save