Spelling fix in the ldt bitfields.
authorFrancois Gouget <fgouget@free.fr>
Sun, 13 Apr 2008 23:03:24 +0000 (01:03 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Apr 2008 10:40:22 +0000 (12:40 +0200)
libs/wine/ldt.c
loader/preloader.c

index e05a962b5e67ada2dbc4ce0bbeea6adc39749124..c46ff6f72f764ddc79eed4a34b25f96d969861f8 100644 (file)
@@ -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;
 }
 
index 0034e9a948c3de7c2752f17efe11acb6db42a1ae..eef0b7245c2a995fdd5337fa760f99a8245d1713 100644 (file)
@@ -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 };