Skip to content

Commit 78c7c90

Browse files
committed
Fix for #29 Normal Generation by Smoothing Group Id - Commit 4
1 parent 1754669 commit 78c7c90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/viewer/viewer.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ static std::string GetBaseDir(const std::string& filepath) {
151151

152152
static bool FileExists(const std::string& abs_filename) {
153153
bool ret;
154-
FILE* fp;
155-
fopen_s(&fp, abs_filename.c_str(), "rb");
154+
FILE* fp = fopen(abs_filename.c_str(), "rb");
156155
if (fp) {
157156
ret = true;
158157
fclose(fp);

0 commit comments

Comments
 (0)