aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 115e7b6..00c626d 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -43,6 +43,7 @@
#include "sc_editor.h"
#include "slideshow.h"
#include "debugger.h"
+#include "utils.h"
static void scroll_interface_init(GtkScrollable *iface)
@@ -1682,21 +1683,6 @@ static gboolean dnd_drop(GtkWidget *widget, GdkDragContext *drag_context,
}
-static void chomp(char *s)
-{
- size_t i;
-
- if ( !s ) return;
-
- for ( i=0; i<strlen(s); i++ ) {
- if ( (s[i] == '\n') || (s[i] == '\r') ) {
- s[i] = '\0';
- return;
- }
- }
-}
-
-
/* Scale the image down if it's a silly size */
static void check_import_size(SCEditor *e)
{