From b234593f14a7f22a93e286a4850c5fade501395b Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 9 Oct 2009 05:34:10 +0000 Subject: [PATCH] * Generator.cs: Use Settings.FunctionPrefix when searching for documentation (instead of hardcoded "gl" prefix). --- Source/Bind/GL2/Generator.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index 069e042f..53342946 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -683,13 +683,13 @@ namespace Bind.GL2 Console.WriteLine("Creating docs for #{0} ({1})", current++, f.Name); try { - string path = Path.Combine(Settings.DocPath, "gl" + f.WrappedDelegate.Name + ".xml"); + string path = Path.Combine(Settings.DocPath, Settings.FunctionPrefix + f.WrappedDelegate.Name + ".xml"); if (!File.Exists(path)) - path = Path.Combine(Settings.DocPath, "gl" + + path = Path.Combine(Settings.DocPath, Settings.FunctionPrefix + f.TrimmedName + ".xml"); if (!File.Exists(path)) - path = Path.Combine(Settings.DocPath, "gl" + f.TrimmedName.TrimEnd(numbers) + ".xml"); + path = Path.Combine(Settings.DocPath, Settings.FunctionPrefix + f.TrimmedName.TrimEnd(numbers) + ".xml"); if (File.Exists(path)) {