aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/qml_container.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/qml_container.go')
-rw-r--r--ethereal/qml_container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/qml_container.go b/ethereal/qml_container.go
index 1b420ee21..53ff13c2f 100644
--- a/ethereal/qml_container.go
+++ b/ethereal/qml_container.go
@@ -25,7 +25,7 @@ func (app *QmlApplication) Create() error {
path := string(app.path)
// For some reason for windows we get /c:/path/to/something, windows doesn't like the first slash but is fine with the others so we are removing it
- if string(app.path[0]) == "/" && runtime.GOOS == "windows" {
+ if app.path[0] == '/' && runtime.GOOS == "windows" {
path = app.path[1:]
}