summaryrefslogtreecommitdiffstats
path: root/client/x11/platform.cpp
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-10-04 10:20:56 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-10-05 15:09:46 +0200
commitae3e63a9d8efe6311270c53150c2a79b632aaa07 (patch)
tree963ea60638e27b9959221c67c69e167fcab9c2e7 /client/x11/platform.cpp
parent45ef140e23976c5cf4349cf4ae5b40486164d485 (diff)
downloadspice-ae3e63a9d8efe6311270c53150c2a79b632aaa07.tar.gz
spice-ae3e63a9d8efe6311270c53150c2a79b632aaa07.tar.xz
spice-ae3e63a9d8efe6311270c53150c2a79b632aaa07.zip
client/x11: fix typos (finde => find)
Diffstat (limited to 'client/x11/platform.cpp')
-rw-r--r--client/x11/platform.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index 670912cb..f7f72cdc 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -1147,8 +1147,8 @@ protected:
private:
void update_position();
- bool finde_mode_in_outputs(RRMode mode, int start_index, XRRScreenResources* res);
- bool finde_mode_in_clones(RRMode mode, XRRScreenResources* res);
+ bool find_mode_in_outputs(RRMode mode, int start_index, XRRScreenResources* res);
+ bool find_mode_in_clones(RRMode mode, XRRScreenResources* res);
XRRModeInfo* find_mode(int width, int height, XRRScreenResources* res);
private:
@@ -2041,7 +2041,7 @@ void XMonitor::update_position()
X_DEBUG_SYNC(display);
}
-bool XMonitor::finde_mode_in_outputs(RRMode mode, int start_index, XRRScreenResources* res)
+bool XMonitor::find_mode_in_outputs(RRMode mode, int start_index, XRRScreenResources* res)
{
int i, j;
bool retval = true;
@@ -2065,11 +2065,11 @@ bool XMonitor::finde_mode_in_outputs(RRMode mode, int start_index, XRRScreenReso
return retval;
}
-bool XMonitor::finde_mode_in_clones(RRMode mode, XRRScreenResources* res)
+bool XMonitor::find_mode_in_clones(RRMode mode, XRRScreenResources* res)
{
XMonitorsList::iterator iter = _clones.begin();
for (; iter != _clones.end(); iter++) {
- if (!(*iter)->finde_mode_in_outputs(mode, 0, res)) {
+ if (!(*iter)->find_mode_in_outputs(mode, 0, res)) {
return false;
}
}
@@ -2114,12 +2114,12 @@ XRRModeInfo* XMonitor::find_mode(int width, int height, XRRScreenResources* res)
while (!modes_set.empty()) {
ModesSet::iterator iter = modes_set.begin();
- if (!finde_mode_in_outputs((*iter).info->id, 1, res)) {
+ if (!find_mode_in_outputs((*iter).info->id, 1, res)) {
modes_set.erase(iter);
continue;
}
- if (!finde_mode_in_clones((*iter).info->id, res)) {
+ if (!find_mode_in_clones((*iter).info->id, res)) {
modes_set.erase(iter);
continue;
}