blob: 73132762b3958f2086cfc07873f7f37839c5b2ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff -r -U 8 spyview-2009-09-10-00_02.orig/spyview/spyview.C spyview-2009-09-10-00_02/spyview/spyview.C
--- spyview-2009-09-10-00_02.orig/spyview/spyview.C 2009-09-09 13:20:18.000000000 +0200
+++ spyview-2009-09-10-00_02/spyview/spyview.C 2009-09-10 16:54:32.000000000 +0200
@@ -124,17 +124,17 @@
}
else if (fl_filename_isdir((path+namelist[i]->d_name).c_str()))
subdirs.push_back(namelist[i]->d_name);
if ((count != 0) && (count%30 == 0))
pretty_path += "More/";
}
for(subdirs_t::iterator i = subdirs.begin(); i != subdirs.end(); i++)
{
- if(*i == "./" || *i == "../")
+ if(*i == "./" || *i == "../" || *i == "")
continue;
find_cmaps(path+*i,pretty_path+*i);
}
}
int add_file(const char *name)
{
// We store the actual filenames in a STL vector of strings
|