about summary refs log tree commit diff
path: root/src/engine/e_ringbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/e_ringbuffer.c')
-rw-r--r--src/engine/e_ringbuffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/e_ringbuffer.c b/src/engine/e_ringbuffer.c
index 9ece9b98..02350140 100644
--- a/src/engine/e_ringbuffer.c
+++ b/src/engine/e_ringbuffer.c
@@ -206,11 +206,11 @@ void *ringbuf_item_ptr(void *p)
 	return ((RBITEM *)p) - 1;
 }
 
-void *ringbuf_first(RINGBUFFER *rb) 
-{ 
-    if(rb->last_alloc && rb->last_alloc->next) 
-        return ringbuf_next(rb, rb->last_alloc->next+1); 
-    return 0x0; 
+void *ringbuf_first(RINGBUFFER *rb)
+{
+	if(rb->last_alloc && rb->last_alloc->next)
+		return ringbuf_next(rb, rb->last_alloc->next+1);
+	return 0x0;
 }
 
 void *ringbuf_last(RINGBUFFER *rb)