summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
authorHaijian Wang <haijian@vaadin.com>2012-08-15 12:42:08 +0300
committerHaijian Wang <haijian@vaadin.com>2012-08-15 12:42:08 +0300
commitcc13349d7c0526cfda81fb846b4565a2e7af5d76 (patch)
tree5fc998443c8928c7c1776b5607016479a5208fea /sass
parente781da64604db322e3c766413d6649fbf88af3cd (diff)
downloadvaadin-framework-cc13349d7c0526cfda81fb846b4565a2e7af5d76.tar.gz
vaadin-framework-cc13349d7c0526cfda81fb846b4565a2e7af5d76.zip
Fix the File.separatorChar bug in ImportVisitor, replace it with '/'
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;
}