]> git.sur5r.net Git - c128-kasse/commitdiff
* prepend \0x11 to printer output for switching to lower/upper case mode instead of
authorsur5r <sur5r@af93e077-1a23-4f1e-9cbe-9382a9d578f5>
Sun, 4 Nov 2007 01:44:26 +0000 (01:44 +0000)
committersur5r <sur5r@af93e077-1a23-4f1e-9cbe-9382a9d578f5>
Sun, 4 Nov 2007 01:44:26 +0000 (01:44 +0000)
  upper case/graphics mode

git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@80 af93e077-1a23-4f1e-9cbe-9382a9d578f5

src/kasse.c

index a50a248efeb2ef71ea93741032d6f6691b9ceab7..0d95aea56f8ac51a841faab06a2ef6db682cec07 100644 (file)
@@ -89,7 +89,7 @@ static void print_log(BYTE n, int einheiten, char *nickname) {
                exit(1);
        }
                
-       sprintf(print_buffer, "[%lu] %s - %s - %s - %d - an %s\r\n",
+       sprintf(print_buffer, "%c[%lu] %s - %s - %s - %d - an %s\r\n",  17,
                        items_sold, time, status.status[n].item_name, price, 
                        einheiten, (*nickname != '\0' ? nickname : "Unbekannt"));
        RETRY:;