Subversion Repositories SvarDOS

Rev

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

Rev 619 Rev 624
Line 44... Line 44...
44
  if (strcmp(countrycode, lastcountry) != 0) {
44
  if (strcmp(countrycode, lastcountry) != 0) {
45
    /* close previous one, if any */
45
    /* close previous one, if any */
46
    if (lastcountry[0] != 0) {
46
    if (lastcountry[0] != 0) {
47
      fprintf(fdoff, "#define OFFLEN_%s %d\r\n", lastcountry, curoffset - curcountryoffset);
47
      fprintf(fdoff, "#define OFFLEN_%s %d\r\n", lastcountry, curoffset - curcountryoffset);
48
    } else {
48
    } else {
49
      fprintf(fdkeyb, "char *kblayouts[] = {\r\n");
49
      fprintf(fdkeyb, "const char *kblayouts[] = {\r\n");
50
    }
50
    }
51
    /* open new one, if any */
51
    /* open new one, if any */
52
    if (countrycode[0] != 0) {
52
    if (countrycode[0] != 0) {
53
      fprintf(fdkeyb, "  /****** %s ******/\r\n", countrycode);
53
      fprintf(fdkeyb, "  /****** %s ******/\r\n", countrycode);
54
      curcountryoffset = curoffset;
54
      curcountryoffset = curoffset;