Ignore:
Timestamp:
Mar 16, 2006, 1:58:55 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Duplicated the conio.h Unicode->CP437 conversion into the VGA driver.
  • Cosmetic code changes.
File:
1 edited

Legend:

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

    r627 r631  
    191191
    192192    for(i = 0; i < sizeof(lookup1) / sizeof(*lookup1); i++)
    193     {
    194193        if(lookup1[i] == c)
    195194            return 0x01 + i;
    196     }
    197195
    198196    for(i = 0; i < sizeof(lookup2) / sizeof(*lookup2); i++)
    199     {
    200197        if(lookup2[i] == c)
    201198            return 0x7f + i;
    202     }
    203199
    204200    return '?';
Note: See TracChangeset for help on using the changeset viewer.