Francois Gouget : Spelling fix in the ldt bitfields.

Alexandre Julliard julliard at winehq.org
Mon Apr 14 07:14:16 CDT 2008


Module: wine
Branch: master
Commit: d8c41a25da75d17f5430eb58b3942d68761b87ae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d8c41a25da75d17f5430eb58b3942d68761b87ae

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Apr 14 01:03:24 2008 +0200

Spelling fix in the ldt bitfields.

---

 libs/wine/ldt.c    |    4 ++--
 loader/preloader.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libs/wine/ldt.c b/libs/wine/ldt.c
index e05a962..c46ff6f 100644
--- a/libs/wine/ldt.c
+++ b/libs/wine/ldt.c
@@ -52,7 +52,7 @@ struct modify_ldt_s
     unsigned int  read_exec_only : 1;
     unsigned int  limit_in_pages : 1;
     unsigned int  seg_not_present : 1;
-    unsigned int  useable : 1;
+    unsigned int  usable : 1;
     unsigned int  garbage : 25;
 };
 
@@ -65,7 +65,7 @@ static inline void fill_modify_ldt_struct( struct modify_ldt_s *ptr, const LDT_E
     ptr->read_exec_only  = !(entry->HighWord.Bits.Type & 2);
     ptr->limit_in_pages  = entry->HighWord.Bits.Granularity;
     ptr->seg_not_present = !entry->HighWord.Bits.Pres;
-    ptr->useable         = entry->HighWord.Bits.Sys;
+    ptr->usable          = entry->HighWord.Bits.Sys;
     ptr->garbage         = 0;
 }
 
diff --git a/loader/preloader.c b/loader/preloader.c
index 0034e9a..eef0b72 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -178,7 +178,7 @@ struct
     unsigned int  read_exec_only : 1;
     unsigned int  limit_in_pages : 1;
     unsigned int  seg_not_present : 1;
-    unsigned int  useable : 1;
+    unsigned int  usable : 1;
     unsigned int  garbage : 25;
 } thread_ldt = { -1, (unsigned long)thread_data, 0xfffff, 1, 0, 0, 1, 0, 1, 0 };
 




More information about the wine-cvs mailing list