~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to libs/libmythui/util-nvctrl.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello, Mario Limonciello, John Baab
  • Date: 2009-09-29 01:33:23 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20090929013323-6pvn8encm757zbxw
Tags: 0.22.0~trunk22101-0ubuntu1
[ Mario Limonciello ]
* New upstream checkout (r22101)
* Try to guard and make sure that ~mythtv is read from /etc/passwd 
  rather than assuming it's /home/mythtv.

[ John Baab ]
* debian/mythtv-common.postinst:
  - Added symlink for /home/mythtv/.mythtv/config.xml

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <map>
2
 
#include <vector>
3
 
using namespace std;
 
1
 
 
2
#include "util-nvctrl.h"
4
3
 
5
4
#include "mythverbose.h"
6
5
#include "mythdb.h"
7
6
 
8
7
#include <stdio.h>
9
 
#include <stdlib.h>
10
8
#include <string.h>
11
9
#include <ctype.h>
12
10
#include <cmath>
13
11
 
14
12
#include "mythxdisplay.h"
15
 
#include "util-nvctrl.h"
16
13
 
17
14
#include "libmythnvctrl/NVCtrl.h"
18
15
#include "libmythnvctrl/NVCtrlLib.h"
135
132
    /* now, parse each MetaMode */
136
133
    str = start = pMetaModes;
137
134
 
138
 
    for (j = 0; j < MetaModeLen; j++)
 
135
    for (j = 0; j < MetaModeLen; ++j)
139
136
    {
140
137
        /*
141
138
         * if we found the end of a line, treat the string from
240
237
        }
241
238
    }
242
239
    // Free Memory
243
 
    for (j=0; j < nDisplayDevice; j++)
 
240
    for (j=0; j < nDisplayDevice; ++j)
244
241
    {
245
242
        free(pModeLines[j]);
246
243
    }