Browse Source

Correct code comment.
Close #2315

Yao Wei Tjong 姚伟忠 7 years ago
parent
commit
48bf1228aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/Container/Str.h

+ 1 - 1
Source/Urho3D/Container/Str.h

@@ -544,7 +544,7 @@ private:
     unsigned length_;
     unsigned length_;
     /// Capacity, zero if buffer not allocated.
     /// Capacity, zero if buffer not allocated.
     unsigned capacity_;
     unsigned capacity_;
-    /// String buffer, null if not allocated.
+    /// String buffer, point to &endZero if buffer is not allocated.
     char* buffer_;
     char* buffer_;
 
 
     /// End zero for empty strings.
     /// End zero for empty strings.