use VFS.GetDirectoryName() method.

This commit is contained in:
morkt
2016-05-20 04:07:23 +04:00
parent 1bd3799372
commit 41b9dd9a54
5 changed files with 5 additions and 5 deletions

View File

@@ -151,7 +151,7 @@ namespace GameRes.Formats.Glib2
{
try
{
var info_name = VFS.CombinePath (Path.GetDirectoryName (image_name), "info");
var info_name = VFS.CombinePath (VFS.GetDirectoryName (image_name), "info");
if (!VFS.FileExists (info_name))
return null;
if (string.IsNullOrEmpty (m_last_info_dir)