Date:2013-09-07 22:47:18 (7 months 17 days ago)
Author:Paul Cercueil
Commit:e86a96c73ff01aa2f46feb2e0656555e6043f900
Message:Fixes the Selector returning empty file/directory names

This fixes commit ba5ef5126921a16a3735620ea3de234e68a52d27
Files: src/selector.cpp (1 diff)

Change Details

src/selector.cpp
185185                if (fl.isFile(selected)) {
186186                    file = fl[selected];
187187                    close = true;
188
189                    char *buf = realpath(file.c_str(), NULL);
190                    file = buf;
191                    free(buf);
192188                } else {
193                    dir = dir+fl[selected]+"/";
189                    dir = dir+fl[selected];
194190                    char *buf = realpath(dir.c_str(), NULL);
195                    dir = buf;
191                    dir = (string) buf + '/';
196192                    free(buf);
197193
198194                    selected = 0;

Archive Download the corresponding diff file



interactive