Author Topic: UIFontMaker.cs Path namespace fix  (Read 4196 times)

bdominguez

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
UIFontMaker.cs Path namespace fix
« on: March 05, 2014, 03:23:46 AM »
A simple change but please, change line 202:

if (Path.GetFileName(path) == "FreeType.dll")

to:

if (System.IO.Path.GetFileName(path) == "FreeType.dll")

Because if we have a Path class it will collide.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIFontMaker.cs Path namespace fix
« Reply #1 on: March 05, 2014, 07:14:30 AM »
Better question is, why do you have a Path class polluting the global namespace?