summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/StringExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wtf/StringExtras.h')
-rw-r--r--JavaScriptCore/wtf/StringExtras.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/JavaScriptCore/wtf/StringExtras.h b/JavaScriptCore/wtf/StringExtras.h
index 342261b..473bb22 100644
--- a/JavaScriptCore/wtf/StringExtras.h
+++ b/JavaScriptCore/wtf/StringExtras.h
@@ -65,8 +65,8 @@ inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_l
return result;
}
-// Work around a bug in Microsoft's implementation of vsnprintf, where
-// vsnprintf does not null terminate the buffer
+// Work around a difference in Microsoft's implementation of vsnprintf, where
+// vsnprintf does not null terminate the buffer. WebKit can rely on the null termination.
#define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args)
#if OS(WINCE)