1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-24 22:53:52 +02:00

сделал ReadFile_Linux_Windows()

This commit is contained in:
Sanek
2025-07-07 09:44:39 +03:00
parent 89c9bd94f1
commit 1ce50021d5

View File

@@ -2065,7 +2065,7 @@ func FindPos(Text string, MassFind ...string) int {
for _, s1 := range MassFind {
pos1 := strings.Index(Text, s1)
if pos1 < PosMin {
if pos1 < PosMin && pos1 > 0 {
PosMin = pos1
}
}