Rev 631 | Rev 659 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 631 | Rev 635 | ||
---|---|---|---|
Line 112... | Line 112... | ||
112 | if (*src > *dst) |
112 | if (*src > *dst) |
113 | return 1; |
113 | return 1; |
114 | } |
114 | } |
115 | if (i == len || *src == *dst) |
115 | if (i == len || *src == *dst) |
116 | return 0; |
116 | return 0; |
117 | if (*src < *dst) |
117 | if (!*src) |
118 | return -1; |
118 | return -1; |
119 | return 1; |
119 | return 1; |
120 | } |
120 | } |
121 | 121 | ||
122 | /** Copy NULL terminated string. |
122 | /** Copy NULL terminated string. |