git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@60462
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
// if we already have my item data - skip
if (elm_store_item_data_get(sti)) return;
// open the mail file and parse it
- f = fopen(path, "r");
+ f = fopen(path, "rb");
if (!f) return;
// alloc my item in memory that holds data to show in the list
const char *file)
{
#ifdef ELM_DEBUG
- FILE *f = fopen(file, "w");
+ FILE *f = fopen(file, "wb");
elm_widget_tree_dot_dump(top, f);
fclose(f);
#else