summaryrefslogtreecommitdiff
path: root/modules/WinProjectBase.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-03-06 18:09:15 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-03-06 18:09:15 +0000
commita3717a1908096b14a4cacb951e92999aa4216216 (patch)
tree3d581685e2d242c8c38742c9e724f531b56deb4d /modules/WinProjectBase.pm
parentc02c149fdfadd19862193bc9283263497694d4a0 (diff)
downloadMPC-a3717a1908096b14a4cacb951e92999aa4216216.tar.gz
ChangeLogTag: Mon Mar 6 18:09:36 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/WinProjectBase.pm')
-rw-r--r--modules/WinProjectBase.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/WinProjectBase.pm b/modules/WinProjectBase.pm
index 4ff55777..24c33707 100644
--- a/modules/WinProjectBase.pm
+++ b/modules/WinProjectBase.pm
@@ -42,8 +42,9 @@ sub translate_directory {
$dir = $self->DirectoryManager::translate_directory($dir);
## Remove the current working directory from $dir (if it is contained)
- my($cwd) = $self->slash_to_backslash($self->getcwd());
+ my($cwd) = $self->getcwd();
my($cwdl) = length($cwd);
+ $cwd =~ s/\//\\/g;
if (index($dir, $cwd) == 0) {
$dir = substr($dir, $cwdl + 1);
}
@@ -99,10 +100,10 @@ sub crlf {
sub file_sorter {
- my($self) = shift;
- my($left) = shift;
- my($right) = shift;
- return lc($left) cmp lc($right);
+ #my($self) = shift;
+ #my($left) = shift;
+ #my($right) = shift;
+ return lc($_[1]) cmp lc($_[2]);
}