commit | 9d832c30b92bc05f0731261d0ca81a13665138e2 | [log] [tgz] |
---|---|---|
author | William S Fulton <wsf@fultondesigns.co.uk> | Fri Jan 27 18:14:23 2017 +0000 |
committer | William S Fulton <wsf@fultondesigns.co.uk> | Fri Jan 27 18:14:23 2017 +0000 |
tree | 8d7a8f2381a77dc3469be861a11114d0add97178 | |
parent | c766bf334a95966dc5b893971fe5bf4336260eca [diff] |
Fix missing filename in error messages when writing out C# files Closes #882
diff --git a/Source/Modules/csharp.cxx b/Source/Modules/csharp.cxx index 9cc6d60..423c5a4 100644 --- a/Source/Modules/csharp.cxx +++ b/Source/Modules/csharp.cxx
@@ -683,7 +683,7 @@ String *filen = NewStringf("%s%s.cs", dir, name); File *f = NewFile(filen, "w", SWIG_output_files()); if (!f) { - FileErrorDisplay(f); + FileErrorDisplay(filen); SWIG_exit(EXIT_FAILURE); } Append(filenames_list, Copy(filen));