Mercurial > dwindows
comparison gtk3/dw.c @ 1562:9a8aa230a538
Ported a couple fixes from GTK3 to GTK2 that I had missed.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 17 Jan 2012 18:27:07 +0000 |
parents | 46e34bd92336 |
children | 90fdfc8aa16d |
comparison
equal
deleted
inserted
replaced
1561:46e34bd92336 | 1562:9a8aa230a538 |
---|---|
8365 dw_mle_get_size(item, &bytes, NULL); | 8365 dw_mle_get_size(item, &bytes, NULL); |
8366 | 8366 |
8367 ptr = buf = alloca(bytes + 2); | 8367 ptr = buf = alloca(bytes + 2); |
8368 dw_mle_export(item, buf, 0, (int)bytes); | 8368 dw_mle_export(item, buf, 0, (int)bytes); |
8369 buf[bytes] = 0; | 8369 buf[bytes] = 0; |
8370 strcat(buf, "\n"); | 8370 strcat(buf, "\r"); |
8371 | 8371 |
8372 /* MLE */ | 8372 /* MLE */ |
8373 while((ptr = strstr(buf, "\r"))) | 8373 while((ptr = strstr(buf, "\r"))) |
8374 { | 8374 { |
8375 ptr[0] = 0; | 8375 ptr[0] = 0; |