wok annotate dia/stuff/dia-overflow-fix.patch @ rev 24877

updated makeself (2.4.0 -> 2.4.5)
author Hans-G?nter Theisgen
date Thu Mar 31 13:51:42 2022 +0100 (2022-03-31)
parents
children
rev   line source
slaxemulator@10852 1 diff -wbBur dia-0.97.1/plug-ins/xfig/xfig-export.c dia-0.97.1.my/plug-ins/xfig/xfig-export.c
slaxemulator@10852 2 --- dia-0.97.1/plug-ins/xfig/xfig-export.c 2009-11-07 17:28:34.000000000 +0300
slaxemulator@10852 3 +++ dia-0.97.1.my/plug-ins/xfig/xfig-export.c 2010-11-15 17:44:05.640896280 +0300
slaxemulator@10852 4 @@ -417,6 +417,9 @@
slaxemulator@10852 5 if (text[i] > 127) {
slaxemulator@10852 6 newlen += 3;
slaxemulator@10852 7 }
slaxemulator@10852 8 + if (text[i] == '\\') {
slaxemulator@10852 9 + newlen += 1;
slaxemulator@10852 10 + }
slaxemulator@10852 11 }
slaxemulator@10852 12 returntext = g_malloc(sizeof(char)*(newlen+1));
slaxemulator@10852 13 j = 0;
slaxemulator@10852 14 @@ -1085,10 +1088,10 @@
slaxemulator@10852 15 figtext = figText(renderer, (unsigned char *) text);
slaxemulator@10852 16 /* xfig texts are specials */
slaxemulator@10852 17 fprintf(renderer->file, "4 %d %d %d 0 %d %s 0.0 6 0.0 0.0 %d %d %s\\001\n",
slaxemulator@10852 18 - figAlignment(renderer, alignment),
slaxemulator@10852 19 - figColor(renderer, color),
slaxemulator@10852 20 - figDepth(renderer),
slaxemulator@10852 21 - figFont(renderer),
slaxemulator@10852 22 + (int)figAlignment(renderer, alignment),
slaxemulator@10852 23 + (int)figColor(renderer, color),
slaxemulator@10852 24 + (int)figDepth(renderer),
slaxemulator@10852 25 + (int)figFont(renderer),
slaxemulator@10852 26 xfig_dtostr(d_buf, figFontSize(renderer)),
slaxemulator@10852 27 (int)figCoord(renderer, pos->x),
slaxemulator@10852 28 (int)figCoord(renderer, pos->y),