- sprintf(szBuf, _("Assert failed in file %s at line %d"), szFile, nLine);
+
+ // make life easier for people using VC++ IDE: clicking on the message will
+ // take us immediately to the place of the failed assert
+#ifdef __VISUALC__
+ sprintf(szBuf, "%s(%d): assert failed", szFile, nLine);
+#else // !VC++
+ // make the error message more clear for all the others
+ sprintf(szBuf, "Assert failed in file %s at line %d", szFile, nLine);
+#endif // VC/!VC
+