Skip to content

Commit

Permalink
Fix search and replace bug with DataForWrite.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHologram committed Oct 5, 2015
1 parent 3ed6c4a commit c553acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NifCommon/niutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ string W2AString(const wstring& str);
#if VERSION_3DSMAX < (15000<<16) // Version 15 (2013)
inline LPTSTR DataForWrite(TSTR& str) { return str.data(); }
#else
inline LPTSTR DataForWrite(TSTR& str) { return DataForWrite(str); }
inline LPTSTR DataForWrite(TSTR& str) { return str.dataForWrite(); }
#endif

// Trim whitespace before and after a string
Expand Down

0 comments on commit c553acc

Please sign in to comment.