浏览代码

Merge pull request #81 from sunwaylive/patch-1

fixed a bug concerning load mesh from dialog

Former-commit-id: 132de038112050ac2b30c44e346fb87d367be39d
Alec Jacobson 10 年之前
父节点
当前提交
6a695e65a6
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      include/igl/file_dialog_open.cpp

+ 1 - 2
include/igl/file_dialog_open.cpp

@@ -68,9 +68,8 @@ IGL_INLINE std::string igl::file_dialog_open()
       buffer[pos] = (char)ofn.lpstrFile[pos];
       pos++;
     }
-    buffer[pos] = 0;
   } 
-  
+  buffer[pos] = 0;
 #else
   
   // For linux use zenity