summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/util.c b/src/common/util.c
index d23a1d44..d4bfeac9 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -254,14 +254,14 @@ file_part (char *file)
 	{
 		switch (*file)
 		{
-		case 0:
-			return (filepart);
-		case '/':
+			case 0:
+				return (filepart);
+			case '/':
 #ifdef WIN32
-		case '\\':
+			case '\\':
 #endif
-			filepart = file + 1;
-			break;
+				filepart = file + 1;
+				break;
 		}
 		file++;
 	}