Spelling fix in the ldt bitfields.

Francois Gouget fgouget at free.fr
Sun Apr 13 18:03:24 CDT 2008


---

As far as I can see these structures are specific to Wine so it's ok to 
rename one of their fields.


 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 };
 
-- 
1.5.4.4




More information about the wine-patches mailing list