Fixed a small mistake.

This commit is contained in:
Jef Driesen 2009-10-20 17:02:30 +00:00
parent 58f6b0e190
commit 9baaa18664

View File

@ -176,7 +176,7 @@ oceanic_common_device_foreach (oceanic_common_device_t *device, const oceanic_co
if (rb_logbook_first < layout->rb_logbook_begin ||
rb_logbook_first >= layout->rb_logbook_end ||
rb_logbook_last < layout->rb_logbook_begin ||
rb_logbook_last >= layout->rb_logbook_begin)
rb_logbook_last >= layout->rb_logbook_end)
{
// One of the pointers is outside the valid ringbuffer area.
// Because some devices use invalid pointers to indicate an