Ignore:
Timestamp:
Sep 18, 2006, 9:20:06 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Do not build the raw output in kernel mode.
  • Fix cucul_utf32_to_cp437() call in the VGA output.
Location:
libcaca/trunk/caca
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.c

    r1006 r1054  
    159159        if(!strcasecmp(var, "gl")) return gl_install(dp);
    160160#endif
     161#if !defined(__KERNEL__)
    161162        if(!strcasecmp(var, "raw")) return raw_install(dp);
     163#endif
    162164#if defined(USE_SLANG)
    163165        if(!strcasecmp(var, "slang")) return slang_install(dp);
  • libcaca/trunk/caca/driver_raw.c

    r1006 r1054  
    2020
    2121#if !defined(__KERNEL__)
    22 #   include <stdio.h>
    23 #endif
     22
     23#include <stdio.h>
    2424
    2525#include "caca.h"
     
    9696}
    9797
     98#endif /* !__KERNEL__ */
  • libcaca/trunk/caca/driver_vga.c

    r1048 r1054  
    122122    for(n = dp->cv->height * dp->cv->width; n--; )
    123123    {
    124         *screen++ = _cucul_utf32_to_cp437(*chars++);
     124        *screen++ = cucul_utf32_to_cp437(*chars++);
    125125        *screen++ = _cucul_argb32_to_ansi8(*attr++);
    126126    }
Note: See TracChangeset for help on using the changeset viewer.