equal
deleted
inserted
replaced
142 _S("EPointer3DExitCloseProximityThreshold"), |
142 _S("EPointer3DExitCloseProximityThreshold"), |
143 _S("EDisplayMemoryHandle"), |
143 _S("EDisplayMemoryHandle"), |
144 _S("ESerialNumber"), |
144 _S("ESerialNumber"), |
145 _S("ECpuProfilingDefaultInterruptBase"), |
145 _S("ECpuProfilingDefaultInterruptBase"), |
146 _S("ENumCpus"), |
146 _S("ENumCpus"), |
147 |
147 _S("EDigitiserOrientation") |
148 }; |
148 }; |
149 |
149 |
150 TInt MatchAbbrev(const TDesC& anInput, const TText** aList, TInt aListLen) |
150 TInt MatchAbbrev(const TDesC& anInput, const TText** aList, TInt aListLen) |
151 { |
151 { |
152 TInt first_match=KErrNotFound; |
152 TInt first_match=KErrNotFound; |
157 TPtrC list_entry(aList[i]); |
157 TPtrC list_entry(aList[i]); |
158 TInt r=list_entry.FindF(anInput); |
158 TInt r=list_entry.FindF(anInput); |
159 if (r>=0) |
159 if (r>=0) |
160 { |
160 { |
161 // substring matches |
161 // substring matches |
162 if (r==0 && list_entry.Length()==anInput.Length()) |
162 if (r==0 && list_entry.Length()==anInput.Length()) |
163 { |
163 { |
164 // exact match |
164 // exact match |
165 return i; |
165 return i; |
166 } |
166 } |
167 if (first_match<0) |
167 if (first_match<0) |