Clone in a terminal:
Commit 67c84bb
Johan Mattsson - 2022-05-26T18:44:56+00:00
67c84bb2d4f928b41ed960593da9f5a40a56ecb6johan.mattsson.m@gmail.com

Drop comment

Changed files (1)

Diff

diff --git a/libbirdfont/OpenFontFormat/load_font.c b/libbirdfont/OpenFontFormat/load_font.cindex b71ea12..5598090 100644--- a/libbirdfont/OpenFontFormat/load_font.c+++ b/libbirdfont/OpenFontFormat/load_font.c@@ -1175,17 +1175,6 @@ GString* load_freetype_font (const gchar* file, gint* err) { 		return bf; 	} 	-	// What on earth is happening when I return strings from vala land to the c domain?-	// The result is that the application craches and the data seems to be corrupted-	// but why, WHY?-	//-	// I can't answer this question. Simply passing a buffer and letting the vala method-	// fill it with data works. Minimal test code doesn't crash. There is a dog burried-	// somewhere here.-	//-	// Upadte: it was probably a problem with the header file, it has been fixed. I have-	// not tested the new code.-	 	gchar* short_path = calloc ((2048 + 1), sizeof(gchar)); 	short_path = (gchar *)file; 

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112