فهرست منبع

MAX_PATH_LENGTH is not in os namespace anymore

Daniele Bartolini 12 سال پیش
والد
کامیت
3cf9890700
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/Device.cpp

+ 1 - 1
src/Device.cpp

@@ -81,7 +81,7 @@ Device::Device() :
 	m_game_library(NULL)
 {
 	// Select executable dir by default
-	string::strncpy(m_preferred_root_path, os::get_cwd(), os::MAX_PATH_LENGTH);
+	string::strncpy(m_preferred_root_path, os::get_cwd(), MAX_PATH_LENGTH);
 }
 
 //-----------------------------------------------------------------------------