[Title]change disk path for windows
authormunkyu.im <munkyu.im@samsung.com>
Fri, 20 Jan 2012 15:11:51 +0000 (00:11 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Fri, 20 Jan 2012 15:11:51 +0000 (00:11 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I56b2cd8fa8fd6bfb04c6ab6ee8a4a471a2339a53

tizen/src/vtm.c

index 0e0332d..18736be 100644 (file)
@@ -1207,7 +1207,7 @@ int create_config_file(gchar* filepath)
                g_fprintf (fp, "\n[%s]\n", EMULATOR_GROUP);
                g_fprintf (fp, "%s=100\n", MAIN_X_KEY);
                g_fprintf (fp, "%s=100\n", MAIN_Y_KEY);
-                g_fprintf (fp, "%s=100\n", SCALE_KEY);
+                g_fprintf (fp, "%s=50\n", SCALE_KEY);
 
                g_fprintf (fp, "\n[%s]\n", QEMU_GROUP);
                g_fprintf (fp, "%s=\n", BINARY_KEY);
@@ -1479,7 +1479,11 @@ void disk_file_select_cb(void)
        GtkWidget *sdcard_filechooser2 = (GtkWidget *)gtk_builder_get_object(g_create_builder, "filechooserbutton2");
 
        path = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(sdcard_filechooser2));
+#ifdef _WIN32
+       snprintf(virtual_target_info.basedisk_path, MAXBUF, change_path_to_slash(path));
+#else
        snprintf(virtual_target_info.basedisk_path, MAXBUF, "%s", path);
+#endif
        INFO( "disk path : %s\n", path);
 
        g_free(path);