@@ -10984,6 +10984,7 @@ gaiaExifTagGetHumanReadable (const gaiaExifTagPtr tag, char *str, int len,
10984
10984
break;
10985
10985
case 11:
10986
10986
human = "Shade";
10987
+ break;
10987
10988
case 12:
10988
10989
human = "Daylight fluorescent (D 5700 � 7100K)";
10989
10990
break;
@@ -10992,6 +10993,7 @@ gaiaExifTagGetHumanReadable (const gaiaExifTagPtr tag, char *str, int len,
10992
10993
break;
10993
10994
case 14:
10994
10995
human = "Cool white fluorescent (W 3900 � 4500K)";
10996
+ break;
10995
10997
case 15:
10996
10998
human = "White fluorescent (WW 3200 � 3700K)";
10997
10999
break;
@@ -11163,8 +11165,8 @@ gaiaExifTagGetHumanReadable (const gaiaExifTagPtr tag, char *str, int len,
11163
11165
strcpy (str, human);
11164
11166
else
11165
11167
{
11166
- memset (str, '\0', len);
11167
11168
memcpy (str, human, len - 1);
11169
+ memset (str + len - 1, 0, 1);
11168
11170
}
11169
11171
*ok = 1;
11170
11172
return;
@@ -53508,8 +53510,10 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53508
53510
gaiaAppendToOutBuffer (out_buf, buf);
53509
53511
}
53510
53512
/* closing the Exterior Ring */
53513
+ #if 0
53511
53514
if (is_multi)
53512
53515
{
53516
+ #endif
53513
53517
if (version == 3)
53514
53518
{
53515
53519
strcpy (buf, "</gml:posList>");
@@ -53523,6 +53527,7 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53523
53527
strcat (buf, "</gml:outerBoundaryIs>");
53524
53528
}
53525
53529
}
53530
+ #if 0
53526
53531
else
53527
53532
{
53528
53533
if (version == 3)
@@ -53538,13 +53543,16 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53538
53543
strcat (buf, "</gml:outerBoundaryIs>");
53539
53544
}
53540
53545
}
53546
+ #endif
53541
53547
gaiaAppendToOutBuffer (out_buf, buf);
53542
53548
for (ib = 0; ib < polyg->NumInteriors; ib++)
53543
53549
{
53544
53550
/* interior rings */
53545
53551
ring = polyg->Interiors + ib;
53552
+ #if 0
53546
53553
if (is_multi)
53547
53554
{
53555
+ #endif
53548
53556
if (version == 3)
53549
53557
{
53550
53558
strcpy (buf, "<gml:interior>");
@@ -53559,6 +53567,7 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53559
53567
"<gml:coordinates decimal=\".\" cs=\",\" ts=\" \">");
53560
53568
}
53561
53569
}
53570
+ #if 0
53562
53571
else
53563
53572
{
53564
53573
if (version == 3)
@@ -53575,6 +53584,7 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53575
53584
"<gml:coordinates decimal=\".\" cs=\",\" ts=\" \">");
53576
53585
}
53577
53586
}
53587
+ #endif
53578
53588
gaiaAppendToOutBuffer (out_buf, buf);
53579
53589
for (iv = 0; iv < ring->Points; iv++)
53580
53590
{
@@ -53649,8 +53659,10 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53649
53659
gaiaAppendToOutBuffer (out_buf, buf);
53650
53660
}
53651
53661
/* closing the Interior Ring */
53662
+ #if 0
53652
53663
if (is_multi)
53653
53664
{
53665
+ #endif
53654
53666
if (version == 3)
53655
53667
{
53656
53668
strcpy (buf, "</gml:posList>");
@@ -53664,6 +53676,7 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53664
53676
strcat (buf, "</gml:innerBoundaryIs>");
53665
53677
}
53666
53678
}
53679
+ #if 0
53667
53680
else
53668
53681
{
53669
53682
if (version == 3)
@@ -53679,6 +53692,7 @@ gaiaOutGml (gaiaOutBufferPtr out_buf, int version, int precision,
53679
53692
strcat (buf, "</gml:innerBoundaryIs>");
53680
53693
}
53681
53694
}
53695
+ #endif
53682
53696
gaiaAppendToOutBuffer (out_buf, buf);
53683
53697
}
53684
53698
/* closing the Polygon */
0 commit comments