From 2deb6273c2588c7dd008daed7f15a627d8b880e4 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sun, 20 Aug 2023 13:39:20 -0300 Subject: [PATCH 1/2] Replace defunct IRC channel in readme with subreddit link --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 11f9f2d6f..c7910663f 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ Documentation ------------- We use our [wiki][wiki] for documentation. -If you need further help, feel free to ask on our [forums][forums], our [Discord server][discord], or our IRC channel [#love on OFTC][irc]. +If you need further help, feel free to ask on our [forums][forums], our [Discord server][discord], or our [subreddit][subreddit]. Repository ---------- @@ -99,7 +99,7 @@ Dependencies [wiki]: https://love2d.org/wiki [forums]: https://love2d.org/forums [discord]: https://discord.gg/rhUets9 -[irc]: irc://irc.oftc.net/love +[subreddit]: https://www.reddit.com/r/love2d [dependencies-apple]: https://github.com/love2d/love-apple-dependencies [dependencies-ios]: https://github.com/love2d/love/releases [megasource]: https://github.com/love2d/megasource From ba693500c439b7bf5d7b9bb2f8b34d7331793453 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Wed, 11 Oct 2023 22:05:33 -0300 Subject: [PATCH 2/2] Fix love.font.newBMFontRasterizer when it's given a single file param. --- src/modules/font/wrap_Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/font/wrap_Font.cpp b/src/modules/font/wrap_Font.cpp index 1ed3149a1..ffbb720fe 100644 --- a/src/modules/font/wrap_Font.cpp +++ b/src/modules/font/wrap_Font.cpp @@ -154,7 +154,7 @@ int w_newBMFontRasterizer(lua_State *L) lua_pop(L, 1); } } - else + else if (!lua_isnoneornil(L, 2)) { convimagedata(L, 2); image::ImageData *id = luax_checktype(L, 2);