wok annotate urxvt/stuff/patches/misc.C-9.22 @ rev 25439
Up xz (5.2.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 16:28:38 2022 +0000 (2022-09-01) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@22085 | 1 --- misc.C.orig 2019-10-31 11:10:49.731985094 +0100 |
Hans-G?nter@22085 | 2 +++ misc.C 2019-10-31 11:13:34.481249573 +0100 |
Hans-G?nter@22085 | 3 @@ -193,7 +193,7 @@ rxvt_utf8towcs (const char *str, int len |
Hans-G?nter@22085 | 4 const char * |
Hans-G?nter@22085 | 5 rxvt_basename (const char *str) NOTHROW |
Hans-G?nter@22085 | 6 { |
Hans-G?nter@22085 | 7 - const char *base = strrchr (str, '/'); |
Hans-G?nter@22085 | 8 + const char *base = strrchr ((char *)str, '/'); |
Hans-G?nter@22085 | 9 |
Hans-G?nter@22085 | 10 return base ? base + 1 : str; |
Hans-G?nter@22085 | 11 } |