blob: 3720497bef9f60b526c16f76be2f403a3b029c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
@@
expression s;
@@
- if (empty_or_root(s))
- s = "/";
+ s = empty_to_root(s);
@@
expression s;
@@
- (empty_or_root(s) ? "/" : s)
+ empty_to_root(s)
@@
expression s;
@@
- (s ? s : "/")
+ empty_to_root(s)
|