Browse Source

Merge branch 'hotfix'

Bastien Guerry 13 years ago
parent
commit
8ab0dedc4e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org-table.el

+ 2 - 2
lisp/org-table.el

@@ -2663,8 +2663,8 @@ in the buffer and column1 and column2 are table column numbers."
 ;      (setq r2 (or r2 r1) c2 (or c2 c1))
       (if (not r1) (setq r1 thisline))
       (if (not r2) (setq r2 thisline))
-      (if (not c1) (setq c1 col))
-      (if (not c2) (setq c2 col))
+      (if (or (not c1) (= 0 c1)) (setq c1 col))
+      (if (or (not c2) (= 0 c2)) (setq c2 col))
       (if (and (not corners-only)
 	       (or (not rangep) (and (= r1 r2) (= c1 c2))))
 	  ;; just one field