Fixed potential sorting problem.
This commit is contained in:
parent
ce0b95fccf
commit
a795011d76
1 changed files with 1 additions and 1 deletions
|
@ -106,8 +106,8 @@ namespace ScrewTurn.Wiki {
|
||||||
for(int i = 0; i < cat.Pages.Length; i++) {
|
for(int i = 0; i < cat.Pages.Length; i++) {
|
||||||
pages[i] = Pages.FindPage(cat.Pages[i]);
|
pages[i] = Pages.FindPage(cat.Pages[i]);
|
||||||
}
|
}
|
||||||
|
Array.Sort(pages as PageInfo[], new PageNameComparer());
|
||||||
}
|
}
|
||||||
else return new List<PageInfo>();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue