# This was created in responce to Debian bug #163979 # Thing is, if you want to compant "-1" with a char value, # you better make that char signed --- kobodeluxe-0.5.1.orig/graphics/window.cpp +++ kobodeluxe-0.5.1/graphics/window.cpp @@ -331,7 +331,7 @@ } -void window_t::center_token(int _x, int _y, const char *txt, char token) +void window_t::center_token(int _x, int _y, const char *txt, signed char token) { center_token_fxp(PIXEL2CS(_x), PIXEL2CS(_y), txt, token); } @@ -374,7 +374,7 @@ } -void window_t::center_token_fxp(int _x, int _y, const char *txt, char token) +void window_t::center_token_fxp(int _x, int _y, const char *txt, signed char token) { _x = CS2PIXEL((_x * xs + 128) >> 8); _y = CS2PIXEL((_y * ys + 128) >> 8); --- kobodeluxe-0.5.1.orig/graphics/window.h +++ kobodeluxe-0.5.1/graphics/window.h @@ -265,10 +265,10 @@ void font(int fnt); void string(int _x, int _y, const char *txt); void center(int _y, const char *txt); - void center_token(int _x, int _y, const char *txt, char token = 0); + void center_token(int _x, int _y, const char *txt, signed char token = 0); void string_fxp(int _x, int _y, const char *txt); void center_fxp(int _y, const char *txt); - void center_token_fxp(int _x, int _y, const char *txt, char token = 0); + void center_token_fxp(int _x, int _y, const char *txt, signed char token = 0); int textwidth(const char *txt, int min = 0, int max = 255); int textwidth_fxp(const char *txt, int min = 0, int max = 255); int fontheight(); ests/uuid.scm'>
path: root/tests/uuid.scm
AgeCommit message (Expand)Author
2018-05-19uuid: 'uuid' returns #f when 'string->uuid' returns #f....* gnu/system/uuid.scm (uuid): When STR is not a literal, return #f when 'string->uuid' returns #f. * tests/uuid.scm ("uuid, dynamic value"): New test. Ludovic Courtès
2017-10-06uuid: Fix typo in 'uuid=?' test....* tests/uuid.scm ("uuid=?"): Change to 'test-assert'. Ludovic Courtès
2017-10-05uuid: Add 'uuid=?' and use it....* gnu/system/uuid.scm (uuid=?): New procedure. * tests/uuid.scm ("uuid=?"): New test. * gnu/build/file-systems.scm (partition-uuid-predicate) (luks-partition-uuid-predicate): Use it instead of 'bytevector=?'. Ludovic Courtès
2017-09-22uuid: Add a parser for FAT32 UUIDs....* gnu/system/uuid.scm (%fat32-uuid-rx): New variable. (string->fat32-uuid): New procedure. (%uuid-parsers): Add it. * tests/uuid.scm ("uuid, FAT32, format preserved"): New test. Ludovic Courtès
2017-09-14uuid: Move tests to 'tests/uuid.scm'....* tests/file-systems.scm ("uuid->string", "string->uuid") ("uuid", "uuid, syntax error"): Move to... * tests/uuid.scm: ... here. New file. ("uuid, ISO-9660, format preserved"): New test. Ludovic Courtès