summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
Diffstat (limited to 'sass')
-rw-r--r--sass/src/com/vaadin/sass/visitor/ImportVisitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sass/src/com/vaadin/sass/visitor/ImportVisitor.java b/sass/src/com/vaadin/sass/visitor/ImportVisitor.java
index 4dee49bc5c..2204ac7d71 100644
--- a/sass/src/com/vaadin/sass/visitor/ImportVisitor.java
+++ b/sass/src/com/vaadin/sass/visitor/ImportVisitor.java
@@ -61,7 +61,7 @@ public class ImportVisitor implements Visitor {
if (url == null) {
return null;
}
- int pos = url.lastIndexOf(File.separatorChar);
+ int pos = url.lastIndexOf('/');
if (pos == -1) {
return null;
}