Browse Source

Filename::from_os_specific

David Rose 16 years ago
parent
commit
2b7462be95
1 changed files with 4 additions and 2 deletions
  1. 4 2
      pandatool/src/eggprogs/eggTextureCards.cxx

+ 4 - 2
pandatool/src/eggprogs/eggTextureCards.cxx

@@ -213,8 +213,10 @@ handle_args(ProgramBase::Args &args) {
     return false;
   }
 
-  copy(args.begin(), args.end(),
-       back_inserter(_texture_names));
+  ProgramBase::Args::iterator ai;
+  for (ai = args.begin(); ai != args.end(); ++ai) {
+    _texture_names.push_back(Filename::from_os_specific(*ai));
+  }
 
   return true;
 }