[beast/win32] Fixed typo; changed 'errno = ...' back to 'errno == ...'.



commit 58a0523dc45f40afe8886ed90c5725ac3bbad793
Author: Stefan Westerfeld <stefan space twc de>
Date:   Sat Sep 5 10:12:10 2009 +0200

    Fixed typo; changed 'errno = ...' back to 'errno == ...'.

 beast-gtk/bstkeybindings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstkeybindings.c b/beast-gtk/bstkeybindings.c
index a9398a3..dd8ecf9 100644
--- a/beast-gtk/bstkeybindings.c
+++ b/beast-gtk/bstkeybindings.c
@@ -705,7 +705,7 @@ bst_key_binding_parse (const gchar *file_name,
   if (fd < 0)
     {
       g_free (absname);
-      return (errno == ENOENT || errno == ENOTDIR || errno = SFI_OS_ELOOP
+      return (errno == ENOENT || errno == ENOTDIR || errno == SFI_OS_ELOOP
             ? BSE_ERROR_FILE_NOT_FOUND : BSE_ERROR_IO);
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]