Subversion Repositories SvarDOS

Rev

Rev 96 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 96 Rev 98
Line 544... Line 544...
544
    if (locales->keybfile == 1) {
544
    if (locales->keybfile == 1) {
545
      snprintf(buff2, sizeof(buff2), "KEYBOARD.SYS");
545
      snprintf(buff2, sizeof(buff2), "KEYBOARD.SYS");
546
    } else {
546
    } else {
547
      snprintf(buff2, sizeof(buff2), "KEYBRD%d.SYS", locales->keybfile);
547
      snprintf(buff2, sizeof(buff2), "KEYBRD%d.SYS", locales->keybfile);
548
    }
548
    }
549
    if (locales->keybid > 0) {
549
    if (locales->keybid == 0) {
550
      buff3[0] = 0;
550
      buff3[0] = 0;
551
    } else {
551
    } else {
552
      snprintf(buff3, sizeof(buff3), " /ID:%d", locales->keybid);
552
      snprintf(buff3, sizeof(buff3), " /ID:%d", locales->keybid);
553
    }
553
    }
554
    fprintf(fd, "KEYB %s,%d,%c:\\SYSTEM\\SVAROG.386\\BIN\\%s%s\r\n", locales->keybcode, locales->codepage, targetdrv, buff2, buff3);
554
    fprintf(fd, "KEYB %s,%d,%c:\\SYSTEM\\SVAROG.386\\BIN\\%s%s\r\n", locales->keybcode, locales->codepage, targetdrv, buff2, buff3);