diff options
Diffstat (limited to 'src/math-equation.c')
-rw-r--r-- | src/math-equation.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/math-equation.c b/src/math-equation.c index 3450b80..ef86221 100644 --- a/src/math-equation.c +++ b/src/math-equation.c @@ -473,7 +473,9 @@ static void on_paste(GtkClipboard *clipboard, const gchar *text, gpointer data) { MathEquation *equation = data; - math_equation_insert (equation, text); + + if (text != NULL) + math_equation_insert(equation, text); } |