summaryrefslogtreecommitdiff
path: root/helm-files.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm-files.el')
-rw-r--r--helm-files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-files.el b/helm-files.el
index 873d19b7..75126ffe 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -3719,7 +3719,7 @@ return directly CANDIDATES."
(defsubst helm-ff-file-extension (file)
"Returns FILE extension if it is not a number."
(helm-aif (file-name-extension file)
- (and (not (string= "0" it))
+ (and (not (string-match "\\`0+\\'" it))
(zerop (string-to-number it))
it)))