comparison mde/setup/paths.d @ 78:79a1809421aa

Widget data saving reimplemented for the new data system. (Now grid layout widgets remember their row & column sizes.)
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 29 Jul 2008 18:14:53 +0100
parents 25cb7420dc91
children d8fccaa45d5f
comparison
equal deleted inserted replaced
77:3dfd934100f7 78:79a1809421aa
149 assert (readOrder == PRIORITY.HIGH_LOW || 149 assert (readOrder == PRIORITY.HIGH_LOW ||
150 readOrder == PRIORITY.HIGH_ONLY ); 150 readOrder == PRIORITY.HIGH_ONLY );
151 151
152 for (int i = pathsLen - 1; i >= 0; --i) { 152 for (int i = pathsLen - 1; i >= 0; --i) {
153 FilePath file = findFile (paths[i]~filename); 153 FilePath file = findFile (paths[i]~filename);
154 if (file !is null) { 154 if (file !is null)
155 ret ~= file; 155 ret ~= file;
156 if (readOrder == PRIORITY.HIGH_ONLY) break; 156 if (readOrder == PRIORITY.HIGH_ONLY) break;
157 }
158 } 157 }
159 } 158 }
160 return ret; 159 return ret;
161 } 160 }
162 161