|
|
发表于 2006-1-16 22:32:57
|
显示全部楼层
gxcooo,你修正一下用 bitstormlite 打开 torrent 文件会崩溃这个 bug 吧。感谢 sunmoon1997 给出补丁:
--- BitStormLite-0.2b/src/utils.h.orig 2006-01-16 20:51:12.000000000 +0000
+++ BitStormLite-0.2b/src/utils.h 2006-01-16 20:45:22.000000000 +0000
@@ -380,7 +380,7 @@
gsize bytes_written;
gchar* ret = g_filename_from_utf8(input_text, -1, &bytes_read, &bytes_written, NULL);
- std::string result = ret;
+ std::string result = ret ? ret : input_text;
g_free(ret);
return result; |
|