# 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(); lue='87977e9e9e668789da2ab046798512714a187339'/>
path: root/gnu.scm
AgeCommit message (Expand)Author
2020-07-25Use 'formatted-message' instead of '&message' where appropriate....* gnu.scm (%try-use-modules): Use 'formatted-message' instead of '&message'. * gnu/machine/digital-ocean.scm (maybe-raise-unsupported-configuration-error): Likewise. * gnu/machine/ssh.scm (machine-check-file-system-availability): Likewise. (machine-check-building-for-appropriate-system): Likewise. (deploy-managed-host): Likewise. (maybe-raise-unsupported-configuration-error): Likewise. * gnu/packages.scm (search-patch): Likewise. * gnu/services.scm (%service-with-default-value): Likewise. (files->etc-directory): Likewise. (fold-services): Likewise. * gnu/system.scm (locale-name->definition*): Likewise. * gnu/system/mapped-devices.scm (check-device-initrd-modules): Likewise. (check-luks-device): Likewise. * guix/channels.scm (latest-channel-instance): Likewise. * guix/cve.scm (json->cve-items): Likewise. * guix/git-authenticate.scm (commit-signing-key): Likewise. (commit-authorized-keys): Likewise. (authenticate-commit): Likewise. (verify-introductory-commit): Likewise. * guix/remote.scm (remote-pipe-for-gexp): Likewise. * guix/scripts/graph.scm (assert-package): Likewise. * guix/scripts/offload.scm (private-key-from-file*): Likewise. * guix/ssh.scm (authenticate-server*): Likewise. (open-ssh-session): Likewise. (remote-inferior): Likewise. * guix/ui.scm (matching-generations): Likewise. * guix/upstream.scm (package-update): Likewise. * tests/channels.scm ("latest-channel-instances, missing introduction for 'guix'"): Catch 'formatted-message?'. ("authenticate-channel, wrong first commit signer"): Likewise. * tests/lint.scm ("patches: not found"): Adjust message string. * tests/packages.scm ("patch not found yields a run-time error"): Catch 'formatted-message?'. * guix/lint.scm (check-patch-file-names): Handle 'formatted-message?'. (check-derivation): Ditto. Ludovic Courtès
2020-07-25utils: Move '&fix-hint' to (guix diagnostics)....* guix/utils.scm (&fix-hint): Move to... * guix/diagnostics.scm (&fix-hint): ... here. * gnu.scm: Adjust imports accordingly. * gnu/system/mapped-devices.scm: Likewise. * guix/channels.scm: Likewise. * guix/profiles.scm: Likewise. * guix/scripts/system/reconfigure.scm: Likewise. * guix/ssh.scm: Likewise. Ludovic Courtès
2020-07-25utils: Move <location> and '&error-location' to (guix diagnostics)....* guix/utils.scm (<location>, source-properties->location) (location->source-properties, &error-location): Move to... * guix/diagnostics.scm: ... here. * gnu.scm: Adjust imports accordingly. * gnu/machine.scm: Likewise. * gnu/system.scm: Likewise. * gnu/tests.scm: Likewise. * guix/inferior.scm: Likewise. * tests/channels.scm: Likewise. * tests/packages.scm: Likewise. Ludovic Courtès