1 diff -ru ../thedarkmod.1.05.src.orig/lib/devil/il_icon.c ./lib/devil/il_icon.c
2 --- ../thedarkmod.1.05.src.orig/lib/devil/il_icon.c 2011-06-05 15:59:12.970627049 +0200
3 +++ ./lib/devil/il_icon.c 2011-06-05 16:42:50.685614062 +0200
6 // Expand low-bit-depth grayscale images to 8 bits
7 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
8 - png_set_gray_1_2_4_to_8(ico_png_ptr);
9 + png_set_expand_gray_1_2_4_to_8(ico_png_ptr);
12 // Expand RGB images with transparency to full alpha channels
13 diff -ru ../thedarkmod.1.05.src.orig/lib/devil/il_png.c ./lib/devil/il_png.c
14 --- ../thedarkmod.1.05.src.orig/lib/devil/il_png.c 2011-06-05 15:59:12.970627049 +0200
15 +++ ./lib/devil/il_png.c 2011-06-05 16:42:49.072303548 +0200
18 // Expand low-bit-depth grayscale images to 8 bits
19 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
20 - png_set_gray_1_2_4_to_8(png_ptr);
21 + png_set_expand_gray_1_2_4_to_8(png_ptr);
24 // Expand RGB images with transparency to full alpha channels
25 diff -ru ../thedarkmod.1.05.src.orig/tdm_update/libtdm_update/Updater/Updater.cpp ./tdm_update/libtdm_update/Updater/Updater.cpp
26 --- ../thedarkmod.1.05.src.orig/tdm_update/libtdm_update/Updater/Updater.cpp 2011-06-05 22:40:56.994157500 +0200
27 +++ ./tdm_update/libtdm_update/Updater/Updater.cpp 2011-06-05 22:41:45.539002147 +0200
28 @@ -1471,24 +1471,7 @@
32 - if (!_updateBatchFile.empty())
34 - TraceLog::WriteLine(LOG_STANDARD, "Relaunching tdm_update via shell script " + _updateBatchFile.file_string());
36 - // Perform the system command in a fork
39 - // Don't wait for the subprocess to finish
40 - system((_updateBatchFile.file_string() + " &").c_str());
45 - TraceLog::WriteLine(LOG_VERBOSE, "Process spawned.");