The check looks OK to me. Alternatively, you could fix the [similar code in Geany](https://github.com/geany/geany/blob/868da11715ed86d08c1c2c4deaf1b2aa6c209df4/src/utils.c#L917) and expose the function to the plugin API for use in this plugin (and any others which beep).
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/858#issuecomment-492037368
