Răsfoiți Sursa

* fixed typo in comment of strpos

git-svn-id: trunk@13018 -
ivost 16 ani în urmă
părinte
comite
cf544462d8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      rtl/inc/strings.pp

+ 1 - 1
rtl/inc/strings.pp

@@ -78,7 +78,7 @@ interface
     function strlicomp(str1,str2 : pchar;l : SizeInt) : SizeInt;
     function strlicomp(str1,str2 : pchar;l : SizeInt) : SizeInt;
 
 
     { Returns a pointer to the first occurrence of str2 in    }
     { Returns a pointer to the first occurrence of str2 in    }
-    { str2 Otherwise returns nil                          }
+    { str1 Otherwise returns nil                          }
     function strpos(str1,str2 : pchar) : pchar;
     function strpos(str1,str2 : pchar) : pchar;
 
 
     { Makes a copy of p on the heap, and returns a pointer to this copy  }
     { Makes a copy of p on the heap, and returns a pointer to this copy  }